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
|
@ -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