Merge pull request #10224 from tweag/fix-darwin-instaltests

Run preInstallCheck even when not building
This commit is contained in:
Eelco Dolstra
2024-03-11 16:02:31 +01:00
committed by GitHub

View File

@@ -343,6 +343,7 @@ in {
# Work around weird bug where it doesn't think there is a Makefile.
installCheckPhase = if (!doBuild && doInstallCheck) then ''
runHook preInstallCheck
mkdir -p src/nix-channel
make installcheck -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES
'' else null;