vivado: fix ncurses #86

Merged
sb10q merged 1 commits from fsagbuya/nix-scripts:master into master 2023-11-29 14:04:29 +08:00
1 changed files with 9 additions and 2 deletions
Showing only changes of commit 02ffc97089 - Show all commits

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