diff options
author | midchildan <git@midchildan.org> | 2021-04-24 16:32:01 +0900 |
---|---|---|
committer | midchildan <git@midchildan.org> | 2021-04-24 16:32:01 +0900 |
commit | 755633ea54894e8f50a038c1e619e509d51bb93f (patch) | |
tree | 36c95aa0562a0bba5418f1407dbfe1887a64ccd3 | |
parent | 276cb2ad232cdb1bd4f2840051deb964655d9317 (diff) |
cryfs: disable tests on Darwin
The tests [require macFUSE to be installed][1] on Darwin. This change disable the tests because Hydra doesn't have it installed. [1]: https://github.com/NixOS/nixpkgs/blob/master/doc/builders/packages/fuse.section.md
-rw-r--r-- | pkgs/tools/filesystems/cryfs/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/cryfs/default.nix b/pkgs/tools/filesystems/cryfs/default.nix index a0dc3124159e4..0da6c4c209944 100644 --- a/pkgs/tools/filesystems/cryfs/default.nix +++ b/pkgs/tools/filesystems/cryfs/default.nix @@ -62,7 +62,8 @@ stdenv.mkDerivation rec { "-DBUILD_TESTING:BOOL=${if doCheck then "TRUE" else "FALSE"}" ] ++ lib.optional doCheck "-DCMAKE_PREFIX_PATH=${gtest.dev}/lib/cmake"; - doCheck = true; + # macFUSE needs to be installed for the test to succeed on Darwin + doCheck = !stdenv.isDarwin; checkPhase = '' # Skip CMakeFiles directory and tests depending on fuse (does not work well with sandboxing) |