about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pygame-ce/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pygame-ce/default.nix')
-rw-r--r--pkgs/development/python-modules/pygame-ce/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pygame-ce/default.nix b/pkgs/development/python-modules/pygame-ce/default.nix
index c4af9f668e72..5c9e2432c822 100644
--- a/pkgs/development/python-modules/pygame-ce/default.nix
+++ b/pkgs/development/python-modules/pygame-ce/default.nix
@@ -77,7 +77,7 @@ buildPythonPackage rec {
         --replace-fail 'path="fc-list"' 'path="${fontconfig}/bin/fc-list"' \
         --replace-fail /usr/X11/bin/fc-list ${fontconfig}/bin/fc-list
     ''
-    + lib.optionalString stdenv.isDarwin ''
+    + lib.optionalString stdenv.hostPlatform.isDarwin ''
       # flaky
       rm test/system_test.py
       substituteInPlace test/meson.build \
@@ -102,7 +102,7 @@ buildPythonPackage rec {
     SDL2_image
     SDL2_mixer
     SDL2_ttf
-  ] ++ lib.optionals stdenv.isDarwin [ AppKit ];
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ AppKit ];
 
   nativeCheckInputs = [
     numpy