From 02ffc97089644951882ac3d9723037b1ef4abfee Mon Sep 17 00:00:00 2001 From: Florian Agbuya Date: Wed, 29 Nov 2023 11:12:32 +0800 Subject: [PATCH] vivado: fix ncurses Signed-off-by: Florian Agbuya --- artiq-fast/vivado.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/artiq-fast/vivado.nix b/artiq-fast/vivado.nix index f6e5f41..bef83d0 100644 --- a/artiq-fast/vivado.nix +++ b/artiq-fast/vivado.nix @@ -6,8 +6,15 @@ pkgs.buildFHSUserEnv { name = "vivado"; targetPkgs = pkgs: ( - with pkgs; [ - ncurses5 + with pkgs; let + # Apply patch from https://github.com/nix-community/nix-environments/pull/54 + # to fix ncurses libtinfo.so's soname issue + ncurses' = ncurses5.overrideAttrs (old: { + configureFlags = old.configureFlags ++ [ "--with-termlib" ]; + postFixup = ""; + }); + in [ + (ncurses'.override { unicodeSupport = false; }) zlib libuuid xorg.libSM