Merge pull request #33441 from LnL7/darwin-pcslite
pcsclite: fix darwin build
This commit is contained in:
commit
6320d8e21b
@ -20,7 +20,9 @@ stdenv.mkDerivation rec {
|
|||||||
"--enable-confdir=/etc"
|
"--enable-confdir=/etc"
|
||||||
"--enable-ipcdir=/run/pcscd"
|
"--enable-ipcdir=/run/pcscd"
|
||||||
] ++ stdenv.lib.optional stdenv.isLinux
|
] ++ stdenv.lib.optional stdenv.isLinux
|
||||||
"--with-systemdsystemunitdir=\${out}/etc/systemd/system";
|
"--with-systemdsystemunitdir=\${out}/etc/systemd/system"
|
||||||
|
++ stdenv.lib.optional (!stdenv.isLinux)
|
||||||
|
"--disable-libsystemd";
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
sed -i -re '/^#define *PCSCLITE_HP_DROPDIR */ {
|
sed -i -re '/^#define *PCSCLITE_HP_DROPDIR */ {
|
||||||
|
Loading…
Reference in New Issue
Block a user