Loading pkgs/servers/mattermost/default.nix +12 −4 Original line number Diff line number Diff line Loading @@ -8,21 +8,28 @@ buildGoModule rec { pname = "mattermost"; version = "8.1.7"; version = "8.1.10"; src = fetchFromGitHub { owner = "mattermost"; repo = "mattermost"; rev = "v${version}"; hash = "sha256-ZpjdJ1Uck0kM+togUKpxRij8V0jQX+12Meks+L1Tc90="; hash = "sha256-eloO83koCNZOR/NYzUCdKOtVdF7rk+VrZ9U2bKWkxNU="; } + "/server"; # this can probably be removed again in versions newer than 8.1.10 overrideModAttrs = (_: { preBuild = '' go mod tidy ''; }); webapp = fetchurl { url = "https://releases.mattermost.com/${version}/mattermost-${version}-linux-amd64.tar.gz"; hash = "sha256-eORIoZLoxWdvuRlirJ7djBTgueIzlzIhRAoURy58zCA="; hash = "sha256-qxFW/P+INcMKSzaGZtOOr1Mi/glgZeiKvQ+YN0qX070="; }; vendorHash = "sha256-RPnCAxksKppsjVtZYhwcoJuAmMJ85AstuoBFChKwAOk="; vendorHash = "sha256-ZbLSxG9Gyhk7PBC2V6sMtrQNXvm+ugMfliFIHWO1VLs="; subPackages = [ "cmd/mattermost" ]; Loading @@ -37,6 +44,7 @@ buildGoModule rec { "-X github.com/mattermost/mattermost/server/public/model.BuildHash=v${version}" "-X github.com/mattermost/mattermost/server/public/model.BuildHashEnterprise=none" "-X github.com/mattermost/mattermost/server/public/model.BuildEnterpriseReady=false" "-X github.com/mattermost/mattermost/server/public/model.MockCWS=false" ]; postInstall = '' Loading Loading
pkgs/servers/mattermost/default.nix +12 −4 Original line number Diff line number Diff line Loading @@ -8,21 +8,28 @@ buildGoModule rec { pname = "mattermost"; version = "8.1.7"; version = "8.1.10"; src = fetchFromGitHub { owner = "mattermost"; repo = "mattermost"; rev = "v${version}"; hash = "sha256-ZpjdJ1Uck0kM+togUKpxRij8V0jQX+12Meks+L1Tc90="; hash = "sha256-eloO83koCNZOR/NYzUCdKOtVdF7rk+VrZ9U2bKWkxNU="; } + "/server"; # this can probably be removed again in versions newer than 8.1.10 overrideModAttrs = (_: { preBuild = '' go mod tidy ''; }); webapp = fetchurl { url = "https://releases.mattermost.com/${version}/mattermost-${version}-linux-amd64.tar.gz"; hash = "sha256-eORIoZLoxWdvuRlirJ7djBTgueIzlzIhRAoURy58zCA="; hash = "sha256-qxFW/P+INcMKSzaGZtOOr1Mi/glgZeiKvQ+YN0qX070="; }; vendorHash = "sha256-RPnCAxksKppsjVtZYhwcoJuAmMJ85AstuoBFChKwAOk="; vendorHash = "sha256-ZbLSxG9Gyhk7PBC2V6sMtrQNXvm+ugMfliFIHWO1VLs="; subPackages = [ "cmd/mattermost" ]; Loading @@ -37,6 +44,7 @@ buildGoModule rec { "-X github.com/mattermost/mattermost/server/public/model.BuildHash=v${version}" "-X github.com/mattermost/mattermost/server/public/model.BuildHashEnterprise=none" "-X github.com/mattermost/mattermost/server/public/model.BuildEnterpriseReady=false" "-X github.com/mattermost/mattermost/server/public/model.MockCWS=false" ]; postInstall = '' Loading