forked from M-Labs/artiq
1
0
Fork 0

flake: fix ncurses on vivado

Signed-off-by: Florian Agbuya <fa@m-labs.ph>
This commit is contained in:
Florian Agbuya 2023-11-28 16:54:13 +08:00 committed by Sébastien Bourdeauducq
parent cf7cbd0c3b
commit 1108cebd75
1 changed files with 10 additions and 2 deletions

View File

@ -43,9 +43,17 @@
cargo = rust; cargo = rust;
}); });
vivadoDeps = pkgs: with pkgs; [ vivadoDeps = pkgs: 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
[
libxcrypt-legacy libxcrypt-legacy
ncurses5 (ncurses'.override { unicodeSupport = false; })
zlib zlib
libuuid libuuid
xorg.libSM xorg.libSM