Term::ReadLine::Gnu: Fix finding libncursesw

Fixes

  Cannot do `initialize' in Term::ReadLine::Gnu at /nix/store/8kld1l6cn75lh0csw8wq6zbccallkr73-nixos-test-driver/bin/.nixos-test-driver-wrapped line 115.

when running NixOS VM tests interactively.
This commit is contained in:
Eelco Dolstra 2016-05-24 20:58:55 +02:00
parent f010ce65ec
commit 012313f253

View file

@ -11707,13 +11707,13 @@ let self = _self // overrides; _self = with self; {
};
TermReadLineGnu = buildPerlPackage rec {
name = "Term-ReadLine-Gnu-1.26";
name = "Term-ReadLine-Gnu-1.31";
src = fetchurl {
url = "mirror://cpan/authors/id/H/HA/HAYASHI/${name}.tar.gz";
sha256 = "1s2dvjbh501c04s5hpf17mwirslmhqmsymg3ri4hcvh5yvp7bw7q";
sha256 = "42174b4bc9d3881502d527fc7c8bd1c0a4b266c2f0bbee012e9a604999418f3b";
};
buildInputs = [ pkgs.readline pkgs.ncurses ];
NIX_CFLAGS_LINK = "-lreadline";
NIX_CFLAGS_LINK = "-lreadline -lncursesw";
# For some crazy reason Makefile.PL doesn't generate a Makefile if
# AUTOMATED_TESTING is set.
@ -11728,6 +11728,12 @@ let self = _self // overrides; _self = with self; {
# Tests don't work because they require /dev/tty.
doCheck = false;
meta = {
homepage = http://sourceforge.net/projects/perl-trg/;
description = "Perl extension for the GNU Readline/History Library";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
};
};
TermShellUI = buildPerlPackage rec {