about summary refs log tree commit diff
path: root/pkgs/development/python-modules/requests-kerberos/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/requests-kerberos/default.nix')
-rw-r--r--pkgs/development/python-modules/requests-kerberos/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/requests-kerberos/default.nix b/pkgs/development/python-modules/requests-kerberos/default.nix
index ffa706fcd58b..70a5eebacdb5 100644
--- a/pkgs/development/python-modules/requests-kerberos/default.nix
+++ b/pkgs/development/python-modules/requests-kerberos/default.nix
@@ -32,7 +32,7 @@ buildPythonPackage rec {
       pyspnego
     ]
     # Avoid broken Python krb5 package on Darwin
-    ++ lib.optionals (!stdenv.isDarwin) pyspnego.optional-dependencies.kerberos;
+    ++ lib.optionals (!stdenv.hostPlatform.isDarwin) pyspnego.optional-dependencies.kerberos;
 
   nativeCheckInputs = [
     pytestCheckHook