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
commit 0ce58cd1c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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