Unverified Commit c003f89d authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

mattermost: fix update script attributes (#376839)

parents e3932d6c 668d9558
Loading
Loading
Loading
Loading
+11 −9
Original line number Diff line number Diff line
@@ -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