libacr38u: fix darwin build
This commit is contained in:
parent
a5bff380e6
commit
dc2efe7680
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, pcsclite , libusb-compat-0_1 }:
|
||||
{ lib, stdenv, fetchurl, pkg-config, pcsclite , libusb-compat-0_1, IOKit }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "1.7.11";
|
||||
|
@ -12,7 +12,8 @@ stdenv.mkDerivation {
|
|||
doCheck = true;
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ pcsclite libusb-compat-0_1 ];
|
||||
buildInputs = [ pcsclite libusb-compat-0_1 ]
|
||||
++ lib.optional stdenv.isDarwin IOKit;
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray=(usbdropdir="$out/pcsc/drivers");
|
||||
|
|
|
@ -15439,7 +15439,9 @@ in
|
|||
|
||||
libaccounts-glib = callPackage ../development/libraries/libaccounts-glib { };
|
||||
|
||||
libacr38u = callPackage ../tools/security/libacr38u { };
|
||||
libacr38u = callPackage ../tools/security/libacr38u {
|
||||
inherit (darwin.apple_sdk.frameworks) IOKit;
|
||||
};
|
||||
|
||||
libadwaita = callPackage ../development/libraries/libadwaita { };
|
||||
|
||||
|
|
Loading…
Reference in New Issue