Making bc use readline. I prefer bc with readline.

svn path=/nixpkgs/trunk/; revision=14919
This commit is contained in:
Lluís Batlle i Rossell
2009-04-08 07:29:42 +00:00
parent 6f96ae757d
commit 686147d0f6
3 changed files with 18 additions and 3 deletions
+6 -2
View File
@@ -1,4 +1,4 @@
{stdenv, fetchurl, flex}:
{stdenv, fetchurl, flex, readline}:
stdenv.mkDerivation {
name = "bc-1.0.6";
@@ -7,5 +7,9 @@ stdenv.mkDerivation {
md5 = "d44b5dddebd8a7a7309aea6c36fda117";
};
buildInputs = [flex];
patches = [ ./readlinefix.patch ];
configureFlags = "--with-readline";
buildInputs = [flex readline];
}