From 3b6e224d123b2c3ab84b5e6fa5b056ee4c629c23 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Tue, 16 Jan 2024 10:19:46 +0200 Subject: [PATCH] tests.buildFHSEnv.libtinfo: fix by using overriden ncurses --- pkgs/test/buildFHSEnv/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/test/buildFHSEnv/default.nix b/pkgs/test/buildFHSEnv/default.nix index 3a97359c6f33..0a355e1aeeac 100644 --- a/pkgs/test/buildFHSEnv/default.nix +++ b/pkgs/test/buildFHSEnv/default.nix @@ -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 ]);