forked from M-Labs/artiq
flake: fix vivado on recent nixpkgs (closes #2274)
Signed-off-by: Florian Agbuya <fa@m-labs.ph>
This commit is contained in:
parent
c3802108ba
commit
931b3172c4
|
@ -173,7 +173,9 @@
|
||||||
vivado = pkgs.buildFHSEnv {
|
vivado = pkgs.buildFHSEnv {
|
||||||
name = "vivado";
|
name = "vivado";
|
||||||
targetPkgs = vivadoDeps;
|
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";
|
runScript = "vivado";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue