diff --git a/pkgs/tools/misc/yubikey-personalization/default.nix b/pkgs/tools/misc/yubikey-personalization/default.nix index 1562b9e69b8e..217eb231e41c 100644 --- a/pkgs/tools/misc/yubikey-personalization/default.nix +++ b/pkgs/tools/misc/yubikey-personalization/default.nix @@ -16,9 +16,11 @@ stdenv.mkDerivation rec { "--with-backend=libusb-1.0" ]; + doCheck = true; + postInstall = '' - mkdir -p $out/lib/udev/rules.d/ - cp -v *.rules $out/lib/udev/rules.d/ + # Don't use 70-yubikey.rules because it depends on ConsoleKit + install -D -t $out/lib/udev/rules.d 69-yukikey.rules ''; meta = with stdenv.lib; {