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 ];
|
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 = {
|
meta = {
|
||||||
homepage = http://openocd.sourceforge.net/;
|
homepage = http://openocd.sourceforge.net/;
|
||||||
description = "OpenOCD, an on-chip debugger";
|
description = "OpenOCD, an on-chip debugger";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user