From b088c118067ccf003bf191ba7c56b08efc2f4f66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Bourdeauducq?= Date: Wed, 4 Dec 2024 12:06:12 +0800 Subject: [PATCH] nixbld: reduce mattermost spam --- nixbld-etc-nixos/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index a6b9a93..c7a1c8f 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -946,6 +946,12 @@ in hydraPath = oa.hydraPath + ":" + super.lib.makeBinPath [ super.jq ]; doCheck = false; # FIXME: ldap tests fail on hydra rebuild, seems unrelated to patches above. }); + mattermost = super.mattermost.overrideAttrs(oa: { + postInstall = oa.postInstall + + '' + sed -i.bak "s/FREE EDITION//g" $out/client/*.js $out/client/*.js.map + ''; + }); matterbridge = super.matterbridge.overrideAttrs(oa: { patches = oa.patches or [] ++ [ ./matterbridge-disable-github.patch ]; });