diff options
Diffstat (limited to 'pkgs/yubikey-touch-detector/default.nix')
| -rw-r--r-- | pkgs/yubikey-touch-detector/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
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 + ''; +}) |
