mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
* Fix bison.
svn path=/nixpkgs/trunk/; revision=892
This commit is contained in:
parent
92b3cc5cfb
commit
9c711700e4
@ -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;
|
||||
}
|
||||
|
@ -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
|
@ -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
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user