* Dietlibc tar doesn't work on x86_64, use one statically linked with

glibc.
* Doh!  $tar/bin/tar should have been $gnutar/bin/tar, so we copied
  /bin/tar!

svn path=/nixpkgs/trunk/; revision=6821
This commit is contained in:
Eelco Dolstra
2006-10-24 17:24:04 +00:00
parent 361cf08c59
commit 5e25253768
4 changed files with 12 additions and 6 deletions
+7 -1
View File
@@ -26,13 +26,19 @@ let
inherit (pkgsDiet)
coreutils findutils diffutils gnugrep
gnutar gzip bzip2 gnumake bash patch;
gzip bzip2 gnumake bash patch;
gnused = pkgsDiet.gnused412; # 4.1.5 gives "Memory exhausted" errors
# patchelf is C++, won't work with dietlibc.
inherit (pkgsStatic) patchelf;
gnutar =
# Tar seems to be broken on dietlibc on x86_64.
if pkgs.stdenv.system == "i686-linux"
then pkgsDiet.gnutar
else pkgsStatic.gnutar;
gawk =
# Dietlibc only provides sufficient math functions (fmod, sin,
# cos, etc.) on i686. On other platforms, use Glibc.