diff options
Diffstat (limited to 'pkgs/development/libraries/glew')
-rw-r--r-- | pkgs/development/libraries/glew/1.10.nix | 4 | ||||
-rw-r--r-- | pkgs/development/libraries/glew/default.nix | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/libraries/glew/1.10.nix b/pkgs/development/libraries/glew/1.10.nix index b2e1b26704f..159bf47e130 100644 --- a/pkgs/development/libraries/glew/1.10.nix +++ b/pkgs/development/libraries/glew/1.10.nix @@ -38,8 +38,8 @@ stdenv.mkDerivation rec { cp -r README.txt LICENSE.txt doc $out/share/doc/glew ''; - makeFlags = if hostPlatform == buildPlatform then null else [ - "SYSTEM=${if hostPlatform.isMinGW then "mingw" else hostPlatform.parsed.kernel}" + makeFlags = [ + "SYSTEM=${if hostPlatform.isMinGW then "mingw" else hostPlatform.parsed.kernel.name}" ]; meta = with stdenv.lib; { diff --git a/pkgs/development/libraries/glew/default.nix b/pkgs/development/libraries/glew/default.nix index ecf1e914a7b..814e4496b77 100644 --- a/pkgs/development/libraries/glew/default.nix +++ b/pkgs/development/libraries/glew/default.nix @@ -39,8 +39,8 @@ stdenv.mkDerivation rec { rm $out/lib/*.a ''; - makeFlags = if hostPlatform == buildPlatform then null else [ - "SYSTEM=${if hostPlatform.isMinGW then "mingw" else hostPlatform.parsed.kernel}" + makeFlags = [ + "SYSTEM=${if hostPlatform.isMinGW then "mingw" else hostPlatform.parsed.kernel.name}" ]; meta = with stdenv.lib; { |