vivado: fix ncurses

Signed-off-by: Florian Agbuya <fa@m-labs.ph>
This commit is contained in:
Florian Agbuya 2023-11-29 11:12:32 +08:00
parent 54af3e9297
commit 02ffc97089
1 changed files with 9 additions and 2 deletions

View File

@ -6,8 +6,15 @@
pkgs.buildFHSUserEnv { pkgs.buildFHSUserEnv {
name = "vivado"; name = "vivado";
targetPkgs = pkgs: ( targetPkgs = pkgs: (
with pkgs; [ with pkgs; let
ncurses5 # 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 zlib
libuuid libuuid
xorg.libSM xorg.libSM