···6262 "-DBUILD_TESTING:BOOL=${if doCheck then "TRUE" else "FALSE"}"
6363 ] ++ lib.optional doCheck "-DCMAKE_PREFIX_PATH=${gtest.dev}/lib/cmake";
64646565- doCheck = true;
6565+ # macFUSE needs to be installed for the test to succeed on Darwin
6666+ doCheck = !stdenv.isDarwin;
66676768 checkPhase = ''
6869 # Skip CMakeFiles directory and tests depending on fuse (does not work well with sandboxing)