1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
to fix segfault when using -l option.

svn path=/nixpkgs/trunk/; revision=25432
This commit is contained in:
Karn Kallio 2011-01-06 03:11:25 +00:00
parent f81bc24790
commit bebcd96c1d

View file

@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
patches = [ ./readlinefix.patch ];
preConfigure = ''
sed -i 's/program.*save/static &/' bc/load.c
'';
configureFlags = [ "--with-readline" ];
buildInputs = [flex readline];