~ruther/nixos-config

ref: d2ed86d1ce568294ab9e5b307b6e1fb592b383d9 nixos-config/modules/programs/fpga/vivado/fhs.nix -rw-r--r-- 450 bytes
d2ed86d1 — Frantisek Bohacek feat: add Vivado wrapper 1 year, 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, config, lib, pkgs, vivadoPath, ... }:

pkgs.buildFHSEnv {
  name = "vivado-wrapped";

  targetPkgs = pkgs: with pkgs; [
    coreutils
    stdenv.cc.cc
    ncurses5
    ncurses
    zlib
    xorg.libX11
    xorg.libXrender
    xorg.libxcb
    xorg.libXext
    xorg.libXtst
    xorg.libXi
    freetype
    gtk2
    glib
    libxcrypt-legacy
    gperftools
    glibc.dev
    fontconfig
    liberation_ttf
  ];

  runScript = "${vivadoPath}";
}
Do not follow this link