tests.buildFHSEnv.libtinfo: simplify using libtinfo

This commit is contained in:
Doron Behar 2024-01-31 21:49:21 +02:00
parent 34b5fb261d
commit c3b147d34a

View File

@ -63,13 +63,8 @@ in {
libtinfo = makeSharedObjectTest (getSharedObjectFromDebian "libedit.so.2.0.70" (fetchurl {
url = "mirror://debian/pool/main/libe/libedit/libedit2_3.1-20221030-2_amd64.deb";
hash = "sha256-HPFKvycW0yedsS0GV6VzfPcAdKHnHTvfcyBmJePInOY=";
})) (p: let
ncurses' = p.ncurses.overrideAttrs (old: {
configureFlags = old.configureFlags ++ [ "--with-termlib" ];
postFixup = "";
});
in [
(ncurses'.override { unicodeSupport = false; })
})) (p: [
p.libtinfo
p.libbsd
]);