diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2004-01-30 17:23:34 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2004-01-30 17:23:34 +0000 |
commit | 3f6bf521fc77b663d1c56adfad8a21684884b6e4 (patch) | |
tree | 0821bf4fb06ff63895e98e03f4d83631c913d996 /pkgs/development | |
parent | 9249f4c892878f65e871b6ab2442be0f78f5d24d (diff) |
* Flex required M4 at runtime.
svn path=/nixpkgs/trunk/; revision=734
Diffstat (limited to 'pkgs/development')
-rwxr-xr-x | pkgs/development/tools/parsing/flex/builder-new.sh | 4 | ||||
-rw-r--r-- | pkgs/development/tools/parsing/flex/flex-new.nix | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/tools/parsing/flex/builder-new.sh b/pkgs/development/tools/parsing/flex/builder-new.sh index 42ec3fdb375c7..e50cc48e4f618 100755 --- a/pkgs/development/tools/parsing/flex/builder-new.sh +++ b/pkgs/development/tools/parsing/flex/builder-new.sh @@ -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 diff --git a/pkgs/development/tools/parsing/flex/flex-new.nix b/pkgs/development/tools/parsing/flex/flex-new.nix index fc5d880a02762..cc769faaac44d 100644 --- a/pkgs/development/tools/parsing/flex/flex-new.nix +++ b/pkgs/development/tools/parsing/flex/flex-new.nix @@ -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; } |