about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ipykernel/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/ipykernel/default.nix')
-rw-r--r--pkgs/development/python-modules/ipykernel/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/ipykernel/default.nix b/pkgs/development/python-modules/ipykernel/default.nix
index dabad2fa8e13..4da948088c9a 100644
--- a/pkgs/development/python-modules/ipykernel/default.nix
+++ b/pkgs/development/python-modules/ipykernel/default.nix
@@ -52,7 +52,7 @@ buildPythonPackage rec {
     pyzmq
     tornado
     traitlets
-  ] ++ lib.optionals stdenv.isDarwin [ appnope ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ appnope ];
 
   # check in passthru.tests.pytest to escape infinite recursion with ipyparallel
   doCheck = false;