about summary refs log tree commit diff
path: root/pkgs/development/python-modules/rapidfuzz/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/rapidfuzz/default.nix')
-rw-r--r--pkgs/development/python-modules/rapidfuzz/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/rapidfuzz/default.nix b/pkgs/development/python-modules/rapidfuzz/default.nix
index 02ef0d753fae..64246e6835ee 100644
--- a/pkgs/development/python-modules/rapidfuzz/default.nix
+++ b/pkgs/development/python-modules/rapidfuzz/default.nix
@@ -56,7 +56,7 @@ buildPythonPackage rec {
     ''
       export RAPIDFUZZ_BUILD_EXTENSION=1
     ''
-    + lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) ''
+    + lib.optionalString (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) ''
       export CMAKE_ARGS="-DCMAKE_CXX_COMPILER_AR=$AR -DCMAKE_CXX_COMPILER_RANLIB=$RANLIB"
     '';
 
@@ -74,7 +74,7 @@ buildPythonPackage rec {
     pytestCheckHook
   ];
 
-  disabledTests = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
+  disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
     # segfaults
     "test_cdist"
   ];