about summary refs log tree commit diff
path: root/pkgs/by-name/ae
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2024-05-31 16:14:45 +0200
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2024-05-31 16:14:45 +0200
commit3b34473ea88160d6fcea40368dc9bca48a62f50b (patch)
treef5d29a4864539e1d9a4e82ecd0a7b8e088d7af6f /pkgs/by-name/ae
parentcf099def273a5c201a1b40de19c841769a73de7b (diff)
aegisub: fix build on darwin
Diffstat (limited to 'pkgs/by-name/ae')
-rw-r--r--pkgs/by-name/ae/aegisub/package.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/by-name/ae/aegisub/package.nix b/pkgs/by-name/ae/aegisub/package.nix
index cdec1259fd08b..aa15f116028a5 100644
--- a/pkgs/by-name/ae/aegisub/package.nix
+++ b/pkgs/by-name/ae/aegisub/package.nix
@@ -7,6 +7,7 @@
   darwin,
   expat,
   fetchFromGitHub,
+  fetchpatch,
   ffmpeg,
   ffms,
   fftw,
@@ -120,7 +121,13 @@ stdenv.mkDerivation (finalAttrs: {
     "relro"
   ];
 
-  patches = lib.optionals (!useBundledLuaJIT) [
+  patches = [
+    (fetchpatch {
+      name = "move-iconv-include-to-charset_conv.h.patch";
+      url = "https://github.com/arch1t3cht/Aegisub/commit/b8f4c98c4cbc698e4adbba302c2dc328fe193435.patch";
+      hash = "sha256-dCm/VG+8yK7qWKWF4Ew/M2hbbAC/d3hiuRglR9BvWtw=";
+    })
+  ] ++ lib.optionals (!useBundledLuaJIT) [
     ./000-remove-bundled-luajit.patch
   ];