about summary refs log tree commit diff
path: root/pkgs/development/python-modules/jupyter-server/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/jupyter-server/default.nix')
-rw-r--r--pkgs/development/python-modules/jupyter-server/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/jupyter-server/default.nix b/pkgs/development/python-modules/jupyter-server/default.nix
index a367bc3c0f35..071b3707225b 100644
--- a/pkgs/development/python-modules/jupyter-server/default.nix
+++ b/pkgs/development/python-modules/jupyter-server/default.nix
@@ -72,7 +72,7 @@ buildPythonPackage rec {
   ];
 
   # https://github.com/NixOS/nixpkgs/issues/299427
-  stripExclude = lib.optionals stdenv.isDarwin [ "favicon.ico" ];
+  stripExclude = lib.optionals stdenv.hostPlatform.isDarwin [ "favicon.ico" ];
 
   nativeCheckInputs = [
     ipykernel
@@ -102,13 +102,13 @@ buildPythonPackage rec {
       # test is presumable broken in sandbox
       "test_authorized_requests"
     ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       # attempts to use trashcan, build env doesn't allow this
       "test_delete"
       # Insufficient access privileges for operation
       "test_regression_is_hidden"
     ]
-    ++ lib.optionals stdenv.isLinux [
+    ++ lib.optionals stdenv.hostPlatform.isLinux [
       # Failed: DID NOT RAISE <class 'tornado.web.HTTPError'>
       "test_copy_big_dir"
     ];