From 24ec2cd1ed0c44357cfb45b8a96a67580a9a8c6e Mon Sep 17 00:00:00 2001 From: midchildan Date: Sat, 27 Mar 2021 03:18:29 +0900 Subject: [PATCH] llfuse: disable tests on Darwin (#117695) Fixes #117665. The tests require macFUSE[1], an external dependency to be installed. [1]: https://osxfuse.github.io/ --- pkgs/development/python-modules/llfuse/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/llfuse/default.nix b/pkgs/development/python-modules/llfuse/default.nix index 16adf1beabd..44aa9136b07 100644 --- a/pkgs/development/python-modules/llfuse/default.nix +++ b/pkgs/development/python-modules/llfuse/default.nix @@ -35,12 +35,12 @@ buildPythonPackage rec { ${python.interpreter} setup.py build_cython ''; + # On Darwin, the test requires macFUSE to be installed outside of Nix. + doCheck = !stdenv.isDarwin; checkInputs = [ pytestCheckHook which ]; disabledTests = [ "test_listdir" # accesses /usr/bin - ] ++ lib.optionals stdenv.isDarwin [ - "uses_fuse" ]; meta = with lib; {