flake: fix vivado on recent nixpkgs (closes #2274)

Signed-off-by: Florian Agbuya <fa@m-labs.ph>
This commit is contained in:
Florian Agbuya 2023-11-17 03:49:24 +08:00 committed by Sébastien Bourdeauducq
parent c3802108ba
commit 931b3172c4
1 changed files with 3 additions and 1 deletions

View File

@ -173,7 +173,9 @@
vivado = pkgs.buildFHSEnv {
name = "vivado";
targetPkgs = vivadoDeps;
profile = "set -e; source /opt/Xilinx/Vivado/2022.2/settings64.sh";
# Include /usr/lib to FHS env to fix `libtinfo.so.5` not found error
# Path has been removed in https://github.com/NixOS/nixpkgs/pull/263201
profile = "set -e; source /opt/Xilinx/Vivado/2022.2/settings64.sh; export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH";
runScript = "vivado";
};