mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
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:
parent
f010ce65ec
commit
012313f253
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user