From 7c62a764b4872d6a1de0bb564d9dd8d9b1a2ac56 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Tue, 11 Feb 2025 21:16:58 +0100 Subject: [PATCH] ci/eval: Fail on non-empty stderr Just like the channel eval requires. --- ci/eval/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/eval/default.nix b/ci/eval/default.nix index fe4a8027383f..377582b96068 100644 --- a/ci/eval/default.nix +++ b/ci/eval/default.nix @@ -113,6 +113,9 @@ let echo "Evaluation failed with exit code $exitCode" # This immediately halts all xargs processes kill $PPID + elif [[ -s "$outputDir/stderr/$myChunk" ]]; then + echo "Nixpkgs on $system evaluated with warnings, aborting" + kill $PPID fi ''; in