Merge pull request #120496 from midchildan/fix/cryfs/darwin-binary-cache

cryfs: disable tests on Darwin
This commit is contained in:
Sandro 2021-04-24 12:33:48 +02:00 committed by GitHub
commit 1341bcf1f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)