about summary refs log tree commit diff
path: root/pkgs/development/python-modules/playwright/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/playwright/default.nix')
-rw-r--r--pkgs/development/python-modules/playwright/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/playwright/default.nix b/pkgs/development/python-modules/playwright/default.nix
index 6ad0fe9b1dc6..e27e2a33ca30 100644
--- a/pkgs/development/python-modules/playwright/default.nix
+++ b/pkgs/development/python-modules/playwright/default.nix
@@ -74,7 +74,7 @@ buildPythonPackage rec {
     git
     setuptools-scm
     setuptools
-  ] ++ lib.optionals stdenv.isLinux [ auditwheel ];
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [ auditwheel ];
 
   pythonRelaxDeps = [ "pyee" ];
 
@@ -99,7 +99,7 @@ buildPythonPackage rec {
         driver = playwright-driver;
         browsers = playwright-driver.browsers;
       }
-      // lib.optionalAttrs stdenv.isLinux {
+      // lib.optionalAttrs stdenv.hostPlatform.isLinux {
         inherit (nixosTests) playwright-python;
       };
     updateScript = ./update.sh;