Poison the build on the test derivation

Make sure that we're not accidentally rebuilding Nix here as it's just
wasteful and awful for CI times.
This commit is contained in:
Théophane Hufschmitt 2023-10-04 17:22:45 +02:00
parent eb68454be6
commit 92e8e1b1bb

View file

@ -280,9 +280,13 @@
enableParallelBuilding = true;
configureFlags = testConfigureFlags; # otherwise configure fails
dontBuild = true;
doInstallCheck = true;
buildPhase = ''
# Remove the source files to make sure that we're not accidentally rebuilding Nix
rm src/**/*.cc
'';
installPhase = ''
mkdir -p $out
'';