pcsclite: fix darwin build

This commit is contained in:
Daiderd Jordan
2018-01-05 00:41:27 +01:00
parent bd43424e2c
commit 00309d66ff
+3 -1
View File
@@ -20,7 +20,9 @@ stdenv.mkDerivation rec {
"--enable-confdir=/etc"
"--enable-ipcdir=/run/pcscd"
] ++ 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 = ''
sed -i -re '/^#define *PCSCLITE_HP_DROPDIR */ {