nixpkgs/pkgs/development/tools/parsing/flex/builder-new.sh
Eelco Dolstra d74192ee38 * propagated-build-inputs should now be placed in $out/nix-support.
svn path=/nixpkgs/trunk/; revision=823
2004-03-09 10:59:55 +00:00

14 lines
209 B
Bash
Executable file

#! /bin/sh -e
export buildinputs="$yacc $m4"
. $stdenv/setup
tar xvfj $src
cd flex-*
./configure --prefix=$out
make
make install
mkdir $out/nix-support
echo "$m4" > $out/nix-support/propagated-build-inputs