diff --git a/pkgs/servers/mattermost/default.nix b/pkgs/servers/mattermost/default.nix index 1d5386e89e1a..01819e8e99f2 100644 --- a/pkgs/servers/mattermost/default.nix +++ b/pkgs/servers/mattermost/default.nix @@ -7,18 +7,18 @@ buildGoModule rec { pname = "mattermost"; - version = "7.5.1"; + version = "7.5.2"; src = fetchFromGitHub { owner = "mattermost"; repo = "mattermost-server"; rev = "v${version}"; - sha256 = "sha256-uaud5yCJTV3/+5eqHvIurxM1EPtetTWeFTjkPKYmFiA="; + sha256 = "sha256-Jm7bu/RoFp7h38Ygis3U2E7Hbbj4zmRPc4PacxxASsw="; }; webapp = fetchurl { url = "https://releases.mattermost.com/${version}/mattermost-${version}-linux-amd64.tar.gz"; - sha256 = "sha256-DdQjXo3n13qt62iFWhSWuTcEXJiHLGdkWn8ulqvzTI0="; + sha256 = "sha256-Zvzme6Og/LLsT4XyFDAQscNgO+jCwwzDDytYOo4qM0U="; }; vendorSha256 = "sha256-qZQXNVbJZDddVE+xk6F8XJCEg5dhhuXz68wcn2Uvmxk="; @@ -29,6 +29,11 @@ buildGoModule rec { "-s" "-w" "-X github.com/mattermost/mattermost-server/v6/model.Version=${version}" + "-X github.com/mattermost/mattermost-server/v6/model.BuildNumber=${version}-nixpkgs" + "-X github.com/mattermost/mattermost-server/v6/model.BuildDate=1970-01-01" + "-X github.com/mattermost/mattermost-server/v6/model.BuildHash=v${version}" + "-X github.com/mattermost/mattermost-server/v6/model.BuildHashEnterprise=v${version}" + "-X github.com/mattermost/mattermost-server/v6/model.BuildEnterpriseReady=false" ]; postInstall = ''