Skip to content
Unverified Commit 70246d7c authored by aszlig's avatar aszlig
Browse files

pcsclite: Introduce PCSCLITE_HP_DROPDIR env var

This allows to override the directory where PCSC-Lite searches for USB
drivers at runtime and should make our NixOS module much more clean so
that we don't need to imperatively stitch together plugin directories
anymore.

I'm using a GNU extension for the ternary operator to avoid computing
getenv("PCSCLITE_HP_DROPDIR") twice:

https://gcc.gnu.org/onlinedocs/gcc/Conditionals.html#Conditionals



Signed-off-by: default avataraszlig <aszlig@redmoonstudios.org>
Cc: @viric, @wkennington
parent 9a154e28
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment