From 8f34e3c7e61a9e7c8585a20d0ceb61907edbc631 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Wed, 29 Jan 2025 11:53:22 -0500 Subject: [PATCH] feat(nixFastBuild): remove useless message from nom --- overlays/nix-version/default.nix | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) 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; + }; }; }