From 5948bab4ec817e5887fed9fa375da81207560794 Mon Sep 17 00:00:00 2001 From: Mel Date: Fri, 6 Jun 2025 00:53:57 +0200 Subject: Patch yubikey-touch-detector for better message and icon Signed-off-by: Mel --- pkgs/yubikey-touch-detector/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 pkgs/yubikey-touch-detector/default.nix (limited to 'pkgs/yubikey-touch-detector/default.nix') diff --git a/pkgs/yubikey-touch-detector/default.nix b/pkgs/yubikey-touch-detector/default.nix new file mode 100644 index 0000000..a1642ec --- /dev/null +++ b/pkgs/yubikey-touch-detector/default.nix @@ -0,0 +1,14 @@ +{ yubikey-touch-detector, ... }: + +yubikey-touch-detector.overrideAttrs (attrs: { + patches = [ ./yubikey-touch-detector.patch ]; + + postInstall = + (attrs.postInstall or "") + + '' + rm $out/share/icons/hicolor/128x128/apps/yubikey-touch-detector.png + + install -Dm444 -T ${./touch.svg} \ + $out/share/icons/hicolor/scalable/apps/yubikey-touch-symbolic.svg + ''; +}) -- cgit 1.4.1