lol

ccid: strip shared object to reduce closure size

The ccid derivation provides a pcsclite plugin to access CCID devices.
This shared object is written to a non-standard path "$out/pcsc", which
causes it not to get stripped by default. The consequence is that the
result is an unstripped binary that still contains references to gcc and
glibc-dev in its debug symbols, which unnecessarily inflates the closure
size from ~80MB to ~400MB.

Explicitly add the directory to the stripped paths to fix this issue.

+4
+4
pkgs/tools/security/ccid/default.nix
··· 21 21 nativeBuildInputs = [ pkg-config perl ]; 22 22 buildInputs = [ pcsclite libusb1 ]; 23 23 24 + # The resulting shared object ends up outside of the default paths which are 25 + # usually getting stripped. 26 + stripDebugList = ["pcsc"]; 27 + 24 28 meta = with lib; { 25 29 description = "ccid drivers for pcsclite"; 26 30 homepage = "https://ccid.apdu.fr/";