about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyopengl/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pyopengl/default.nix')
-rw-r--r--pkgs/development/python-modules/pyopengl/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pyopengl/default.nix b/pkgs/development/python-modules/pyopengl/default.nix
index a66fcc6463a4..a4c4b1cbf21d 100644
--- a/pkgs/development/python-modules/pyopengl/default.nix
+++ b/pkgs/development/python-modules/pyopengl/default.nix
@@ -25,7 +25,7 @@ buildPythonPackage rec {
     let
       ext = stdenv.hostPlatform.extensions.sharedLibrary;
     in
-    lib.optionalString (!stdenv.isDarwin) ''
+    lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
       # Theses lines are patching the name of dynamic libraries
       # so pyopengl can find them at runtime.
       substituteInPlace OpenGL/platform/glx.py \