* Flex required M4 at runtime.

svn path=/nixpkgs/trunk/; revision=734
This commit is contained in:
Eelco Dolstra 2004-01-30 17:23:34 +00:00
parent 9249f4c892
commit 3f6bf521fc
3 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#! /bin/sh
export buildinputs="$yacc"
export buildinputs="$yacc $m4"
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
@ -8,3 +8,5 @@ cd flex-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
echo "$m4" > $out/propagated-build-inputs || exit 1

View File

@ -1,7 +1,7 @@
# !!! this should be moved to default.nix eventually (but I delay
# doing that since it would cause a rebuild of lots of stuff).
{stdenv, fetchurl, yacc}:
{stdenv, fetchurl, yacc, m4}:
assert !isNull yacc;
@ -15,4 +15,5 @@ derivation {
};
stdenv = stdenv;
yacc = yacc;
m4 = m4;
}

View File

@ -219,6 +219,7 @@
fetchurl = fetchurl;
stdenv = stdenv;
yacc = bison;
m4 = gnum4;
};
gcc = (import ../development/compilers/gcc) {