about summary refs log tree commit diff
path: root/pkgs/development/libraries/libqglviewer/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libqglviewer/default.nix')
-rw-r--r--pkgs/development/libraries/libqglviewer/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libqglviewer/default.nix b/pkgs/development/libraries/libqglviewer/default.nix
index fd10ccc5375c..ec2234bb9a28 100644
--- a/pkgs/development/libraries/libqglviewer/default.nix
+++ b/pkgs/development/libraries/libqglviewer/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ qmake ];
   buildInputs = [ qtbase libGLU ]
-    ++ lib.optional stdenv.isDarwin AGL;
+    ++ lib.optional stdenv.hostPlatform.isDarwin AGL;
 
   dontWrapQtApps = true;