about summary refs log tree commit diff
path: root/pkgs/development/libraries/mygui/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/mygui/default.nix')
-rw-r--r--pkgs/development/libraries/mygui/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/mygui/default.nix b/pkgs/development/libraries/mygui/default.nix
index c785e640ccb0..d52eadbba6cd 100644
--- a/pkgs/development/libraries/mygui/default.nix
+++ b/pkgs/development/libraries/mygui/default.nix
@@ -45,12 +45,12 @@ stdenv.mkDerivation rec {
     ois
   ] ++ lib.optionals withOgre [
     ogre
-  ] ++ lib.optionals (!withOgre && stdenv.isLinux) [
+  ] ++ lib.optionals (!withOgre && stdenv.hostPlatform.isLinux) [
     libGL
     libGLU
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     libX11
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     Cocoa
   ];