pkgs/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 17:12:36 +07:00
parent 94f3683935
commit 8c5d37129f
916 changed files with 2510 additions and 2510 deletions
+4 -4
View File
@@ -18,9 +18,9 @@ stdenv.mkDerivation rec {
# The OS should care on preparing the drivers into this location
"--enable-usbdropdir=/var/lib/pcsc/drivers"
"--enable-confdir=/etc"
] ++ stdenv.lib.optional stdenv.isLinux
] ++ lib.optional stdenv.isLinux
"--with-systemdsystemunitdir=\${out}/etc/systemd/system"
++ stdenv.lib.optional (!stdenv.isLinux)
++ lib.optional (!stdenv.isLinux)
"--disable-libsystemd";
postConfigure = ''
@@ -35,8 +35,8 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ pkgconfig perl ];
buildInputs = [ python3 ] ++ stdenv.lib.optionals stdenv.isLinux [ udev dbus ]
++ stdenv.lib.optionals stdenv.isDarwin [ IOKit ];
buildInputs = [ python3 ] ++ lib.optionals stdenv.isLinux [ udev dbus ]
++ lib.optionals stdenv.isDarwin [ IOKit ];
meta = with lib; {
description = "Middleware to access a smart card using SCard API (PC/SC)";