vivado: fix ncurses

Signed-off-by: Florian Agbuya <fa@m-labs.ph>
pull/86/head
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 {
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