about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libticables2
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libticables2')
-rw-r--r--nixpkgs/pkgs/development/libraries/libticables2/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libticables2/default.nix b/nixpkgs/pkgs/development/libraries/libticables2/default.nix
index f22d7b796e15..d3f2e86a964f 100644
--- a/nixpkgs/pkgs/development/libraries/libticables2/default.nix
+++ b/nixpkgs/pkgs/development/libraries/libticables2/default.nix
@@ -1,6 +1,7 @@
 { stdenv
 , lib
 , fetchurl
+, fetchpatch
 , pkg-config
 , autoreconfHook
 , glib
@@ -15,6 +16,15 @@ stdenv.mkDerivation rec {
     sha256 = "08j5di0cgix9vcpdv7b8xhxdjkk9zz7fqfnv3l4apk3jdr8vcvqc";
   };
 
+  patches = [
+    (fetchpatch {
+      name = "add-support-for-aarch64-macos-target-triple.patch";
+      url = "https://github.com/debrouxl/tilibs/commit/ef41c51363b11521460f33e8c332db7b0a9ca085.patch";
+      stripLen = 2;
+      sha256 = "sha256-oTR1ACEZI0fjErpnFXTCnfLT1mo10Ypy0q0D8NOPNsM=";
+    })
+  ];
+
   nativeBuildInputs = [
     autoreconfHook
     pkg-config