forked from mirrors/nixpkgs
gnupg: dont demand pcsclite on darwin
This commit is contained in:
parent
30e577cdfe
commit
fd60b5f496
|
@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
patchPhase = ''
|
||||
find tests -type f | xargs sed -e 's@/bin/pwd@${coreutils}&@g' -i
|
||||
'' + stdenv.lib.optionalString stdenv.isLinux ''
|
||||
sed -i 's,"libpcsclite\.so[^"]*","${pcsclite}/lib/libpcsclite.so",g' scd/scdaemon.c
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
find . -name pcsc-wrapper.c | xargs sed -i 's/typedef unsinged int pcsc_dword_t/typedef unsigned int pcsc_dword_t/'
|
||||
|
|
Loading…
Reference in a new issue