about summary refs log tree commit diff
path: root/pkgs/development/libraries/libfreefare
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-01-04 10:17:26 +0100
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2023-01-04 10:17:26 +0100
commit376a72a3d33844f62af498aa9c863005e1af5815 (patch)
tree75ba0f9184117045d86a6eed5df7cd6406ad908e /pkgs/development/libraries/libfreefare
parent83481b87082efe630b6bcd3c5089f488d90be51f (diff)
libfreefare: unbreak on aarch64-darwin
Diffstat (limited to 'pkgs/development/libraries/libfreefare')
-rw-r--r--pkgs/development/libraries/libfreefare/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libfreefare/default.nix b/pkgs/development/libraries/libfreefare/default.nix
index c8327d72e85a1..f1466dd5a9f53 100644
--- a/pkgs/development/libraries/libfreefare/default.nix
+++ b/pkgs/development/libraries/libfreefare/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurl, pkg-config, libnfc, openssl
+{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libnfc, openssl
 , libobjc ? null
 , IOKit, Security
 }:
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
     sha256 = "0r5wfvwgf35lb1v65wavnwz2wlfyfdims6a9xpslf4lsm4a1v8xz";
   };
 
-  nativeBuildInputs = [ pkg-config ];
+  nativeBuildInputs = [ autoreconfHook pkg-config ];
   buildInputs = [ libnfc openssl ] ++ lib.optionals stdenv.isDarwin [ libobjc IOKit Security ];
 
   meta = with lib; {
@@ -21,7 +21,5 @@ stdenv.mkDerivation {
     homepage = "https://github.com/nfc-tools/libfreefare";
     maintainers = with maintainers; [bobvanderlinden];
     platforms = platforms.unix;
-    # never built on aarch64-darwin since first introduction in nixpkgs
-    broken = stdenv.isDarwin && stdenv.isAarch64;
   };
 }