1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

* GNU sed 4.1.5 compiled with dietlibc gives "Memory exhausted" errors

on trivial patterns, so use an older sed instead (4.1.2).  See
  http://linuxfromscratch.org/pipermail/hlfs-dev/2005-September/002447.html.

svn path=/nixpkgs/trunk/; revision=6792
This commit is contained in:
Eelco Dolstra 2006-10-20 20:05:26 +00:00
parent 65bbb45ab7
commit 3d2e573eff
3 changed files with 15 additions and 1 deletions

View file

@ -14,7 +14,8 @@ let
name = "bootstrap-tools-generator";
builder = ./make-bootstrap-tools.sh;
inherit (pkgsDiet) coreutils findutils gnused gnugrep gnutar gzip bzip2 bash patch;
inherit (pkgsDiet) coreutils findutils gnugrep gnutar gzip bzip2 bash patch;
gnused = pkgsDiet.gnused412; # 4.1.5 gives "Memory exhausted" errors
binutils = pkgsDiet.binutils;
gcc = import ../../development/compilers/gcc-static-4.1 {

View file

@ -0,0 +1,9 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "gnused-4.1.2";
src = fetchurl {
url = ftp://ftp.gnu.org/pub/gnu/sed/sed-4.1.2.tar.gz;
md5 = "928f0e06422f414091917401f1a834d0";
};
}

View file

@ -307,6 +307,10 @@ rec {
inherit fetchurl stdenv;
});
gnused412 = import ../tools/text/gnused/4.1.2.nix {
inherit fetchurl stdenv;
};
gnutar = useFromStdenv (stdenv ? gnutar) stdenv.gnutar
(import ../tools/archivers/gnutar {
inherit fetchurl stdenv;