mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02: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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue