diff options
author | John Wiegley <johnw@newartisans.com> | 2015-12-03 13:13:31 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2015-12-03 13:13:31 -0500 |
commit | 95f6a9e147d714edbca0adfba20d1ad82b3237e6 (patch) | |
tree | ffa505a94450a42e06c63b3fd7eaf1d815dbbae8 /pkgs/tools/security | |
parent | 31e5abf788ce1ab9976259b8c964721a280531b1 (diff) | |
download | nixlib-95f6a9e147d714edbca0adfba20d1ad82b3237e6.tar nixlib-95f6a9e147d714edbca0adfba20d1ad82b3237e6.tar.gz nixlib-95f6a9e147d714edbca0adfba20d1ad82b3237e6.tar.bz2 nixlib-95f6a9e147d714edbca0adfba20d1ad82b3237e6.tar.lz nixlib-95f6a9e147d714edbca0adfba20d1ad82b3237e6.tar.xz nixlib-95f6a9e147d714edbca0adfba20d1ad82b3237e6.tar.zst nixlib-95f6a9e147d714edbca0adfba20d1ad82b3237e6.zip |
pcsclite: Enable building on Darwin
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r-- | pkgs/tools/security/pcsclite/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/security/pcsclite/default.nix b/pkgs/tools/security/pcsclite/default.nix index 4c96c947f57a..41c106854351 100644 --- a/pkgs/tools/security/pcsclite/default.nix +++ b/pkgs/tools/security/pcsclite/default.nix @@ -11,18 +11,18 @@ stdenv.mkDerivation rec { configureFlags = [ # The OS should care on preparing the drivers into this location "--enable-usbdropdir=/var/lib/pcsc/drivers" - "--with-systemdsystemunitdir=\${out}/etc/systemd/system" "--enable-confdir=/etc" - ]; + ] ++ stdenv.lib.optional stdenv.isLinux + "--with-systemdsystemunitdir=\${out}/etc/systemd/system"; nativeBuildInputs = [ pkgconfig perl python2 ]; - buildInputs = [ udev dbus_libs ]; + buildInputs = stdenv.lib.optionals stdenv.isLinux [ udev dbus_libs ]; meta = with stdenv.lib; { description = "Middleware to access a smart card using SCard API (PC/SC)"; homepage = http://pcsclite.alioth.debian.org/; license = licenses.bsd3; maintainers = with maintainers; [ viric wkennington ]; - platforms = platforms.linux; + platforms = with platforms; unix; }; } |