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 = {