about summary refs log tree commit diff
path: root/pkgs/development/python-modules/fusepy/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/fusepy/default.nix')
-rw-r--r--pkgs/development/python-modules/fusepy/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/fusepy/default.nix b/pkgs/development/python-modules/fusepy/default.nix
index 35718a54d635..6e33666d6951 100644
--- a/pkgs/development/python-modules/fusepy/default.nix
+++ b/pkgs/development/python-modules/fusepy/default.nix
@@ -23,7 +23,7 @@ buildPythonPackage rec {
 
   # On macOS, users are expected to install macFUSE. This means fusepy should
   # be able to find libfuse in /usr/local/lib.
-  patchPhase = lib.optionalString (!stdenv.isDarwin) ''
+  patchPhase = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
     substituteInPlace fuse.py --replace \
       "find_library('fuse')" "'${pkgs.fuse}/lib/libfuse.so'"
   '';