diff --git a/overlays/nix-version/default.nix b/overlays/nix-version/default.nix index 148200b8..9d0a044f 100644 --- a/overlays/nix-version/default.nix +++ b/overlays/nix-version/default.nix @@ -14,13 +14,19 @@ in inherit nix; }; + nix-output-monitor = prev.nix-output-monitor.overrideAttrs (o: { + postPatch = '' + ${o.postPatch} + + sed -i 's/.*" nom hasn‘t detected any input. Have you redirected nix-build stderr into nom? (See -h and the README for details.)".*//' ./lib/NOM/Print.hs + ''; + }); + nix-fast-build = nix-fast-build.packages.${final.system}.nix-fast-build.override { - nix-eval-jobs = - nix-eval-jobs.packages.${final.system}.default.override { - inherit nix; - } - // { - inherit nix; - }; + inherit (final) nix-output-monitor; + + nix-eval-jobs = nix-eval-jobs.packages.${final.system}.default.override { + inherit nix; + }; }; }