diff --git a/artiq-fast/vivado.nix b/artiq-fast/vivado.nix index f6e5f41..bef83d0 100644 --- a/artiq-fast/vivado.nix +++ b/artiq-fast/vivado.nix @@ -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