Changelog: https://github.com/LudovicRousseau/CCID/releases/tag/1.7.0
Notably, this updates the udev rules to give the 'pcscd' group access to
CCID devices. That's needed for pcsclite>=2.4.0.
Upstream have added installation of the udev rules, but it does so
outside of PREFIX. Keep using our own installation code instead, which
is simpler than patching upstream build system.
There is a RUN+="/usr/sbin/Kobil_mIDentity_switch" directive in the udev
rules file, and since we don't have that program (we don't build ccid
with "extras"), NixOS fails use it:
Checking that all programs called by absolute paths in udev rules exist... FAIL
/usr/sbin/Kobil_mIDentity_switch is called in udev rules but is not executable or does not exist
Fix it by disabling that rule for now.
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.
Co-authored-by: Wolfgang Walther <walther@technowledgy.de>