git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit012313f2532e4809dd2cd9051ee046dae43c6aab authorEelco Dolstra <eelco.dolstra@logicblox.com> dateTue 24 May 2016, 20:58 (11 years ago) parentf010ce6
1 file changed+9−3
pkgs/top-level/perl-packages.nix+9−3
pkgs/top-level/perl-packages.nix+9−3
@@ -11707,13 +11707,13 @@ let self = _self // overrides; _self = with self; {
1170711707 };
1170811708
1170911709 TermReadLineGnu = buildPerlPackage rec {
11710− name = "Term-ReadLine-Gnu-1.26";
11710+ name = "Term-ReadLine-Gnu-1.31";
1171111711 src = fetchurl {
1171211712 url = "mirror://cpan/authors/id/H/HA/HAYASHI/${name}.tar.gz";
11713− sha256 = "1s2dvjbh501c04s5hpf17mwirslmhqmsymg3ri4hcvh5yvp7bw7q";
11713+ sha256 = "42174b4bc9d3881502d527fc7c8bd1c0a4b266c2f0bbee012e9a604999418f3b";
1171411714 };
1171511715 buildInputs = [ pkgs.readline pkgs.ncurses ];
11716− NIX_CFLAGS_LINK = "-lreadline";
11716+ NIX_CFLAGS_LINK = "-lreadline -lncursesw";
1171711717
1171811718 # For some crazy reason Makefile.PL doesn't generate a Makefile if
1171911719 # AUTOMATED_TESTING is set.
@@ -11728,6 +11728,12 @@ let self = _self // overrides; _self = with self; {
1172811728
1172911729 # Tests don't work because they require /dev/tty.
1173011730 doCheck = false;
11731+
11732+ meta = {
11733+ homepage = http://sourceforge.net/projects/perl-trg/;
11734+ description = "Perl extension for the GNU Readline/History Library";
11735+ license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
11736+ };
1173111737 };
1173211738
1173311739 TermShellUI = buildPerlPackage rec {