about summary refs log tree commit diff
path: root/pkgs/development/python-modules/wxpython/4.2.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/wxpython/4.2.nix')
-rw-r--r--pkgs/development/python-modules/wxpython/4.2.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/wxpython/4.2.nix b/pkgs/development/python-modules/wxpython/4.2.nix
index 8ad524a17c9b..be3a181da9aa 100644
--- a/pkgs/development/python-modules/wxpython/4.2.nix
+++ b/pkgs/development/python-modules/wxpython/4.2.nix
@@ -75,14 +75,14 @@ buildPythonPackage rec {
     sip
     which
     wxGTK
-  ] ++ lib.optionals stdenv.isLinux [ autoPatchelfHook ];
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
 
   buildInputs =
     [
       wxGTK
       SDL
     ]
-    ++ lib.optionals stdenv.isLinux [
+    ++ lib.optionals stdenv.hostPlatform.isLinux [
       gst_all_1.gst-plugins-base
       gst_all_1.gstreamer
       libGL