mattermost: fix update script attributes

Since we now have a wrapper derivation, we need to expose the inner
attributes to make the update script happy.
This commit is contained in:
Morgan Jones
2025-01-25 16:31:40 -08:00
parent c32142f4c3
commit 668d9558b4
+11 -9
View File
@@ -42,10 +42,17 @@ let
wrapMattermost =
server:
stdenvNoCC.mkDerivation {
pname = "${server.pname}-wrapped";
inherit (server) version;
inherit server;
inherit (server) webapp;
# src and npmDeps must be provided for the update script!
inherit (server)
pname
version
src
npmDeps
webapp
meta
;
dontUnpack = true;
@@ -59,12 +66,7 @@ let
done
'';
passthru = finalPassthru // {
inherit server;
inherit (server) webapp;
};
inherit (server) meta;
passthru = finalPassthru;
};
finalPassthru =
let