diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2010-02-23 21:32:16 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2010-02-23 21:32:16 +0000 |
commit | 24614bdffe9b649ccce168b2c0f1df63f9c3304c (patch) | |
tree | a00b8b610bc11b00b57e7c405b28836e6e2bebe0 | |
parent | ecc14afbdacb3b1c1c30a0f3096246f61e162d73 (diff) |
Manually fix ecl-config. Not that we really care what it says, but it should not give unsuable flag set
svn path=/nixpkgs/trunk/; revision=20203
-rw-r--r-- | pkgs/development/compilers/ecl/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/compilers/ecl/default.nix b/pkgs/development/compilers/ecl/default.nix index a562853953078..7692811e8d6a3 100644 --- a/pkgs/development/compilers/ecl/default.nix +++ b/pkgs/development/compilers/ecl/default.nix @@ -2,6 +2,8 @@ a : let s = import ./src-for-default.nix; buildInputs = with a; [ + ]; + propagatedBuildInputs = with a; [ gmp mpfr ]; in @@ -9,14 +11,18 @@ rec { src = a.fetchUrlFromSrcInfo s; inherit (s) name; - inherit buildInputs; + inherit buildInputs propagatedBuildInputs; configureFlags = [ "--enable-threads" "--enable-unicode" ]; /* doConfigure should be removed if not needed */ - phaseNames = ["doConfigure" "doMakeInstall"]; + phaseNames = ["doConfigure" "doMakeInstall" "fixEclConfig"]; + + fixEclConfig = a.fullDepEntry '' + sed -e 's/@[-a-zA-Z_]*@//g' -i $out/bin/ecl-config + '' ["minInit"]; meta = { description = "A Lisp implementation aiming to be small and fast"; |