about summary refs log tree commit diff
path: root/pkgs/development/libraries/glew/1.10.nix
diff options
context:
space:
mode:
authorhsloan <ishaqsloan@gmail.com>2017-06-28 16:11:06 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2017-06-28 19:32:57 -0400
commitade488c52a32433b1dc4d20f39fead75bcc4ee3d (patch)
treec70632ca7e57cf8b11b2791c154d32c657151b97 /pkgs/development/libraries/glew/1.10.nix
parentcebe4ee5c99d50eaff7d0ffb280a17ff8d471c81 (diff)
glew 1.10: Don't use stdenv ? cross
Diffstat (limited to 'pkgs/development/libraries/glew/1.10.nix')
-rw-r--r--pkgs/development/libraries/glew/1.10.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/glew/1.10.nix b/pkgs/development/libraries/glew/1.10.nix
index 8500a54f970c5..b2e1b26704f3d 100644
--- a/pkgs/development/libraries/glew/1.10.nix
+++ b/pkgs/development/libraries/glew/1.10.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
 
   patchPhase = ''
     sed -i 's|lib64|lib|' config/Makefile.linux
-    ${optionalString (stdenv ? cross) ''
+    ${optionalString (hostPlatform != buildPlatform) ''
     sed -i -e 's/\(INSTALL.*\)-s/\1/' Makefile
     ''}
   '';