From eaa25de1283ea3738be21bb3825d4f6e0b49ee36 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sat, 17 Aug 2024 21:58:50 +0200 Subject: [PATCH] mattermost: make it work with nix-update this mirrors a change in the nixpkgs definition: the nix-update script has a hardcoded list of attributes it will update. We can re-use one of them to make it update mattermost's web frontend at the same time as it updates mattermost itself. The list of attribute names is here: https://github.com/Mic92/nix-update/tree/1.3.1?tab=readme-ov-file#features original nixpkgs commit by numinit was 1451a58a57e1bd1592460268bdde30cf72923010 https://github.com/nixOS/nixpkgs/commit/1451a58a57e1bd1592460268bdde30cf72923010 --- pkgs/mattermost.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/mattermost.nix b/pkgs/mattermost.nix index eb2ee6e..90a9fce 100644 --- a/pkgs/mattermost.nix +++ b/pkgs/mattermost.nix @@ -45,6 +45,7 @@ buildGoModule rec { ''; subPackages = [ "cmd/mattermost" ]; + offlineCache = webapp; tags = [ "production" ];