solo5: disable checkPhase instead of setting to null, run hooks
This commit is contained in:
parent
d97c564c9f
commit
ad7a9cdb96
@ -51,15 +51,14 @@ in stdenv.mkDerivation {
|
|||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = stdenv.hostPlatform.isLinux;
|
||||||
checkInputs = [ util-linux qemu ];
|
checkInputs = [ util-linux qemu ];
|
||||||
checkPhase = if stdenv.hostPlatform.isLinux then
|
checkPhase = ''
|
||||||
''
|
runHook preCheck
|
||||||
patchShebangs tests
|
patchShebangs tests
|
||||||
./tests/bats-core/bats ./tests/tests.bats
|
./tests/bats-core/bats ./tests/tests.bats
|
||||||
''
|
runHook postCheck
|
||||||
else
|
'';
|
||||||
null;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Sandboxed execution environment";
|
description = "Sandboxed execution environment";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user