* Fix bison.

svn path=/nixpkgs/trunk/; revision=892
This commit is contained in:
Eelco Dolstra 2004-04-01 13:48:08 +00:00
parent 92b3cc5cfb
commit 9c711700e4
4 changed files with 9 additions and 23 deletions

View File

@ -2,14 +2,13 @@
assert m4 != null;
derivation {
stdenv.mkDerivation {
name = "bison-1.875c";
system = stdenv.system;
builder = ./builder-new.sh;
src = fetchurl {
url = ftp://alpha.gnu.org/pub/gnu/bison/bison-1.875c.tar.gz;
md5 = "bba317725fc84013b9d0a6b2576dfaa7";
};
stdenv = stdenv;
m4 = m4;
buildInputs = [m4];
} // {
glrSupport = true;
}

View File

@ -1,8 +0,0 @@
buildinputs="$m4"
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd bison-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

View File

@ -1,8 +0,0 @@
buildinputs="$m4"
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd bison-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

View File

@ -1,11 +1,14 @@
{stdenv, fetchurl, m4}:
assert m4 != null;
stdenv.mkDerivation {
name = "bison-1.875";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nluug.nl/pub/gnu/bison/bison-1.875.tar.bz2;
md5 = "b7f8027b249ebd4dd0cc948943a71af0";
};
m4 = m4;
buildInputs = [m4];
} // {
glrSupport = false;
}