Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions nixos/tests/mattermost/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,7 @@ import ../make-test-python.nix (

# Upgrade to the latest Mattermost.
specialisation.latest.configuration = {
services.mattermost.package = lib.mkForce (
pkgs.mattermostLatest.override {
removeFreeBadge = true;
removeUserLimit = true;
}
);
services.mattermost.package = lib.mkForce pkgs.mattermostLatest;
system.stateVersion = lib.mkVMOverride (lib.versions.majorMinor lib.version);
};
}
Expand Down
5 changes: 5 additions & 0 deletions pkgs/by-name/ma/mattermost/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@
...
}:

assert lib.warnIf (latestVersionInfo != null && (removeUserLimit || removeFreeBadge)) ''
The user limit and free badge patches are not tested with this Mattermost version
(${latestVersionInfo.version}).
'' true;

let
/*
Helper function that sets the `withTests` and `withoutTests` passthru correctly,
Expand Down
6 changes: 3 additions & 3 deletions pkgs/by-name/ma/mattermostLatest/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ mattermost.override (
# and make sure the version regex is up to date here.
# Ensure you also check ../mattermost/package.nix for ESR releases.
regex = "^v(11\\.[0-9]+\\.[0-9]+)$";
version = "11.8.1";
srcHash = "sha256-9EIbTwnEeZQKg5uixkMp3sp/n+9I2N9W7hxsW5juF3M=";
version = "11.8.2";
srcHash = "sha256-XZ4yr7nbGum6UQaBjze50L8Yc/MLjo4NQBh263CNRtI=";
vendorHash = "sha256-F2QMrLbio7812ZTGQZZPTqHWtIXbwbDmjUhtvv0DJ9s=";
npmDepsHash = "sha256-9GRM0VXrh1eR16ocSGEV/F2eflOflzkhrhRRnm9uB6s=";
npmDepsHash = "sha256-WIPLpi6lQvq9wieqvOACiRh7v1znxzcf+jyKXSjWzNc=";
autoUpdate = ./package.nix;
};
}
Expand Down
Loading