pcsclite: fix darwin build

This commit is contained in:
Daiderd Jordan 2018-01-05 00:39:44 +01:00
parent bd43424e2c
commit 00309d66ff
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

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 */ {