diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-03-18 00:16:09 +0100 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2021-03-26 11:06:31 +0100 |
commit | ad7a9cdb96e86c3330a4bd0965f583f0eb7c61a9 (patch) | |
tree | bb379e87d2700a7edf0efec35d14725ba33d0226 /pkgs/os-specific | |
parent | d97c564c9f9b332079c8684533702f230666b4da (diff) |
solo5: disable checkPhase instead of setting to null, run hooks
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/solo5/default.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/os-specific/solo5/default.nix b/pkgs/os-specific/solo5/default.nix index 4b5c1232a864..71584aff7760 100644 --- a/pkgs/os-specific/solo5/default.nix +++ b/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"; |