So you are here because the year is 2025 and there is no up to date instruction for running Xilinx Vivado on nixos (the last tutorial I could find is great and by kotatsuyaki). Since then, nix-ld has came out, Vivado is now a 90GB install instead of a 40GB install, and my computer is killing itself right now trying to install this software.
Binary
The AMD Xilinx Vivado software needs to be downloaded from AMD’s website here. There are two installers, the web based one and the tarball. AMD heavily recommends the web installer and says it saves space and install time compared to the tarball. I have not verified these claims, but I did successfully use the web installer. If you have exceptionally shit internet, it might be best to download the tarball.
[!Caution] You Need to make an AMD account to download the binary as well as enter your account to install the software.
Shell
Since nix-ld is now a thing, we can create a dev shell that sets it up and use that to install Xilinx. Please refer to nix-ld to configure it.
Once that is done, we can make a dev-shell which exports the required NIX_LD variables.
|
|
Installation
Once you have the shell created, enter it and then run the binary that was downloaded. I recommend installing Xilinx to /opt/Xilinx
as that is the general path that non-native software should be stored on Linux.
After agreeing to the terms it should install and take a looooooooong time to do this.
Another thing I did that was nice is editing the desktop file for vivado to point towards the shell.nix that was created, allowing execution of vivado from the application launcher. Presuming the nix-shell is in /opt/Xilinx
, this desktop file should work.
|
|
Is this the best way of doing this? I’d say probably not. It does work though, which is good enough for me.