diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-01 16:22:34 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-01 16:22:44 +0200 |
commit | f46108aaf020173ec4fdf532d4c2cf26eabeb2a6 (patch) | |
tree | d13c82915df3cbf7a788eaf6e2996d99240c0ea7 /pkgs/games/0ad | |
parent | 0d8014f6fcdf7fbbea93f5bf8fd1750da66d4d2c (diff) |
Remove last reference to stdenvType
Diffstat (limited to 'pkgs/games/0ad')
-rw-r--r-- | pkgs/games/0ad/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/games/0ad/default.nix b/pkgs/games/0ad/default.nix index efbd59dbbe3f..39124d28f0a2 100644 --- a/pkgs/games/0ad/default.nix +++ b/pkgs/games/0ad/default.nix @@ -1,4 +1,4 @@ -{ stdenv, stdenvType, callPackage, fetchurl, python27 +{ stdenv, callPackage, fetchurl, python27 , pkgconfig, spidermonkey_24, boost, icu, libxml2, libpng , libjpeg, zlib, curl, libogg, libvorbis, enet, miniupnpc , openalSoft, mesa, xproto, libX11, libXcursor, nspr, SDL @@ -16,8 +16,8 @@ let zeroadData = callPackage ./data.nix { inherit version releaseType; }; archForPremake = - if stdenv.lib.hasPrefix "x86_64-" stdenvType then "x64" else - if stdenv.lib.hasPrefix "i686-" stdenvType then "x32" else "ERROR"; + if stdenv.lib.hasPrefix "x86_64-" stdenv.system then "x64" else + if stdenv.lib.hasPrefix "i686-" stdenv.system then "x32" else "ERROR"; in stdenv.mkDerivation rec { |