nix-scripts/artiq/vivado.nix
Sebastien Bourdeauducq 3fe5ce25c5 clean up bitstream build
Also make the development shell a more ergonomic regular nix-shell instead of the FHS env shell.
2019-07-03 20:28:00 +08:00

25 lines
491 B
Nix

# Install Vivado in /opt and add to /etc/nixos/configuration.nix:
# nix.sandboxPaths = ["/opt"];
{ pkgs, vivadoPath ? "/opt/Xilinx/Vivado/2019.1" }:
pkgs.buildFHSUserEnv {
name = "vivado";
targetPkgs = pkgs: (
with pkgs; [
ncurses5
zlib
libuuid
xorg.libSM
xorg.libICE
xorg.libXrender
xorg.libX11
xorg.libXext
xorg.libXtst
xorg.libXi
]
);
profile = "source ${vivadoPath}/settings64.sh";
runScript = "vivado";
}