* Some fixes for rebuilding the bootstrap binaries on x86_64.

svn path=/nixpkgs/branches/stdenv-updates/; revision=9836
This commit is contained in:
Eelco Dolstra
2007-12-03 15:40:29 +00:00
parent 9a89e44870
commit 31034cb3d1
2 changed files with 6 additions and 5 deletions
+5 -3
View File
@@ -1,6 +1,8 @@
{system ? builtins.currentSystem}:
let
pkgs = import ../../top-level/all-packages.nix {};
pkgs = import ../../top-level/all-packages.nix {inherit system;};
# Have to do removeAttrs to prevent all-packages from copying
@@ -37,14 +39,14 @@ let
gnutar =
# Tar seems to be broken on dietlibc on x86_64.
if pkgs.stdenv.system != "x86_64-linux"
if system != "x86_64-linux"
then pkgsDiet.gnutar151 # 1.16 is broken
else pkgsStatic.gnutar;
gawk =
# Dietlibc only provides sufficient math functions (fmod, sin,
# cos, etc.) on i686. On other platforms, use Glibc.
if pkgs.stdenv.system == "i686-linux"
if system == "i686-linux"
then pkgsDiet.gawk
else pkgsStatic.gawk;