solo5: disable checkPhase instead of setting to null, run hooks

wip/yesman
sternenseemann 3 years ago committed by Emery Hemingway
parent d97c564c9f
commit ad7a9cdb96
  1. 11
      pkgs/os-specific/solo5/default.nix

@ -51,15 +51,14 @@ in stdenv.mkDerivation {
runHook postInstall
'';
doCheck = true;
doCheck = stdenv.hostPlatform.isLinux;
checkInputs = [ util-linux qemu ];
checkPhase = if stdenv.hostPlatform.isLinux then
''
checkPhase = ''
runHook preCheck
patchShebangs tests
./tests/bats-core/bats ./tests/tests.bats
''
else
null;
runHook postCheck
'';
meta = with lib; {
description = "Sandboxed execution environment";

Loading…
Cancel
Save