2004-01-30 18:23:34 +01:00
|
|
|
export buildinputs="$yacc $m4"
|
2004-03-09 11:59:55 +01:00
|
|
|
. $stdenv/setup
|
2004-01-30 11:10:06 +01:00
|
|
|
|
2004-03-09 11:59:55 +01:00
|
|
|
tar xvfj $src
|
|
|
|
cd flex-*
|
|
|
|
./configure --prefix=$out
|
|
|
|
make
|
|
|
|
make install
|
2004-01-30 18:23:34 +01:00
|
|
|
|
2004-03-09 11:59:55 +01:00
|
|
|
mkdir $out/nix-support
|
|
|
|
echo "$m4" > $out/nix-support/propagated-build-inputs
|