mirror of
https://github.com/NixOS/nix.git
synced 2024-11-26 00:32:28 +00:00
Run preInstallCheck even when not building
Add `runHook preInstallCheck` to the overriden `installCheckPhase` used
for the non-build case.
In particular, this allow the fix from 2a34510776
to also apply there.
This commit is contained in:
parent
3539172fd2
commit
74008d8215
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user