3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #33441 from LnL7/darwin-pcslite

pcsclite: fix darwin build
This commit is contained in:
Orivej Desh 2018-01-06 03:50:56 +00:00 committed by GitHub
commit 6320d8e21b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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