forked from M-Labs/artiq
flake: fix ncurses on vivado
Signed-off-by: Florian Agbuya <fa@m-labs.ph>
This commit is contained in:
parent
8c520422f2
commit
bd61687e8f
11
flake.nix
11
flake.nix
|
@ -46,9 +46,16 @@
|
||||||
postPatch = "substituteInPlace src/sysroot.rs --replace 2021 2018";
|
postPatch = "substituteInPlace src/sysroot.rs --replace 2021 2018";
|
||||||
});
|
});
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue