~ruther/nixos-config

ref: 78fb4accddf0dde5ea3ad7af41afd389322eb336 nixos-config/modules/programs/fpga/vivado/vivado-pkg.nix -rw-r--r-- 404 bytes
78fb4acc — Frantisek Bohacek feat: make ubuntu default monospace 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
{ stdenv, config, lib, pkgs, ... }:

# Only udev rules...

stdenv.mkDerivation {
  name = "vivado-2023.1";

  nativeBuildInputs = [ pkgs.zlib ];
  buildInputs = [ pkgs.patchelf pkgs.procps pkgs.ncurses5 pkgs.makeWrapper ];

  src = ./.;

  installPhase = ''
    mkdir -p $out/lib/udev/rules.d/
    cp udev/* $out/lib/udev/rules.d/
  '';

  dontPatch = true;
  dontConfigure = true;
  dontBuild = true;
}
Do not follow this link