tests.buildFHSEnv.libtinfo: fix by using overriden ncurses

This commit is contained in:
Doron Behar 2024-01-16 10:19:46 +02:00
parent 92a0043ecf
commit 3b6e224d12

View File

@ -63,8 +63,13 @@ 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: [
p.ncurses
})) (p: let
ncurses' = p.ncurses.overrideAttrs (old: {
configureFlags = old.configureFlags ++ [ "--with-termlib" ];
postFixup = "";
});
in [
(ncurses'.override { unicodeSupport = false; })
p.libbsd
]);