3
0
Fork 0
forked from mirrors/nixpkgs

libacr38u: unbreak on aarch64-darwin

This commit is contained in:
Weijia Wang 2022-12-27 10:43:31 +01:00
parent d97726bb76
commit 4bb6b5ee5f

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pkg-config, pcsclite , libusb-compat-0_1, IOKit }:
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, pcsclite , libusb-compat-0_1, IOKit }:
stdenv.mkDerivation {
version = "1.7.11";
@ -11,7 +11,7 @@ stdenv.mkDerivation {
doCheck = true;
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ pcsclite libusb-compat-0_1 ]
++ lib.optional stdenv.isDarwin IOKit;
@ -38,7 +38,5 @@ stdenv.mkDerivation {
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ berce ];
platforms = with platforms; unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = stdenv.isDarwin && stdenv.isAarch64;
};
}