~ruther/nixos-config

ref: 8c38c300bb8a8962b56dc905969e8ccbc22f6bdc nixos-config/modules/programs/fpga/vivado/fhs.nix -rw-r--r-- 450 bytes
8c38c300 — Frantisek Bohacek feat: add nixos-hardware for laptop 1 year, 5 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