about summary refs log tree commit diff
path: root/pkgs/development/python2-modules/cffi/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python2-modules/cffi/default.nix')
-rw-r--r--pkgs/development/python2-modules/cffi/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python2-modules/cffi/default.nix b/pkgs/development/python2-modules/cffi/default.nix
index adeda6e90d22..aa6f49f95e3c 100644
--- a/pkgs/development/python2-modules/cffi/default.nix
+++ b/pkgs/development/python2-modules/cffi/default.nix
@@ -1,7 +1,7 @@
 { lib, stdenv, cffi }:
 
 if cffi == null then null else cffi.overridePythonAttrs {
-  disabledTests = lib.optionals stdenv.isDarwin [
+  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
     # cannot load library 'c'
     "test_FILE"
     "test_FILE_object"