3
0
Fork 0
forked from mirrors/nixpkgs

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