about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyclip
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pyclip')
-rw-r--r--pkgs/development/python-modules/pyclip/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/pyclip/default.nix b/pkgs/development/python-modules/pyclip/default.nix
index 65f9afc40903..631bebd566bf 100644
--- a/pkgs/development/python-modules/pyclip/default.nix
+++ b/pkgs/development/python-modules/pyclip/default.nix
@@ -30,19 +30,19 @@ buildPythonPackage rec {
 
   nativeCheckInputs =
     [ pytest ]
-    ++ lib.optionals stdenv.isLinux [
+    ++ lib.optionals stdenv.hostPlatform.isLinux [
       xclip
       xvfb-run
     ];
 
   checkPhase = ''
     runHook preCheck
-    ${lib.optionalString stdenv.isLinux "xvfb-run -s '-screen 0 800x600x24'"} pytest tests
+    ${lib.optionalString stdenv.hostPlatform.isLinux "xvfb-run -s '-screen 0 800x600x24'"} pytest tests
     runHook postCheck
   '';
 
   meta = {
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
     description = "Cross-platform clipboard utilities supporting both binary and text data";
     mainProgram = "pyclip";
     homepage = "https://github.com/spyoungtech/pyclip";