mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
openocd: install udev rules
So that they can easily be activated in NixOS: services.udev.packages = [ pkgs.openocd ];
This commit is contained in:
parent
f0af1e7512
commit
12e00b5eeb
1 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ libftdi libusb1 ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p "$out/etc/udev/rules.d"
|
||||
ln -s "$out/share/openocd/contrib/openocd.udev" "$out/etc/udev/rules.d/99-openocd.rules"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://openocd.sourceforge.net/;
|
||||
description = "OpenOCD, an on-chip debugger";
|
||||
|
|
Loading…
Reference in a new issue