From 3d468a80ce2e44840a93f139a12bbf60df823dcc Mon Sep 17 00:00:00 2001 From: Tomate0613 <69756782+Tomate0613@users.noreply.github.com> Date: Wed, 11 Feb 2026 16:52:48 +0100 Subject: [PATCH] make it fail on non-zero exit codes instead --- nix/hm-modules.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/nix/hm-modules.nix b/nix/hm-modules.nix index 827bb13a..45db801f 100644 --- a/nix/hm-modules.nix +++ b/nix/hm-modules.nix @@ -17,12 +17,7 @@ self: { ${cfg.settings} EOF - output=$(${cfg.package}/bin/mango -c "$out" -p 2>&1 || true) - - if echo "$output" | grep -Fq '[ERROR]:'; then - echo "$output" - exit 1 - fi + ${cfg.package}/bin/mango -c "$out" -p || exit 1 ''; in { options = {