yubikey-personalization: fixes udev rules
70-yubikey.rules depends on ConsoleKit which is not used by NixOS anymore and has been superseeded by systemd The ./configure flag also supports a --with-udevrulesdir flag but it fails the detection and selects the wrong .rules file.
This commit is contained in:
parent
ff6e194fc7
commit
2aeb5598e3
|
@ -16,9 +16,11 @@ stdenv.mkDerivation rec {
|
||||||
"--with-backend=libusb-1.0"
|
"--with-backend=libusb-1.0"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/lib/udev/rules.d/
|
# Don't use 70-yubikey.rules because it depends on ConsoleKit
|
||||||
cp -v *.rules $out/lib/udev/rules.d/
|
install -D -t $out/lib/udev/rules.d 69-yukikey.rules
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in New Issue