Making bash and kbd cross-build

svn path=/nixpkgs/branches/stdenv-updates/; revision=24851
This commit is contained in:
Lluís Batlle i Rossell
2010-11-25 09:14:56 +00:00
parent 5007314654
commit d910fcbcee
2 changed files with 3 additions and 3 deletions

View File

@@ -34,8 +34,8 @@ stdenv.mkDerivation rec {
import ./bash-patches.nix patch;
# Note: Bison is needed because the patches above modify parse.y.
buildNativeInputs = [bison];
buildInputs = stdenv.lib.optional (texinfo != null) texinfo
buildNativeInputs = [bison]
++ stdenv.lib.optional (texinfo != null) texinfo
++ stdenv.lib.optional interactive readline;
configureFlags = if interactive then "--with-installed-readline" else "--disable-readline";