about summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-10-12 18:54:52 +0200
committerGitHub <noreply@github.com>2023-10-12 18:54:52 +0200
commit33d223f587af3504cbeb5f53e6bfc3b627c1853e (patch)
treeb6f1107d217fd46ec904d18f48eb33a8dfa4e94b /pkgs/applications/graphics
parent66aba40782f1c071bebd25a9308bbfa81fa1cba2 (diff)
parentc1e96b94e2782d48a49078bf77f291323152ac3f (diff)
downloadnixlib-33d223f587af3504cbeb5f53e6bfc3b627c1853e.tar
nixlib-33d223f587af3504cbeb5f53e6bfc3b627c1853e.tar.gz
nixlib-33d223f587af3504cbeb5f53e6bfc3b627c1853e.tar.bz2
nixlib-33d223f587af3504cbeb5f53e6bfc3b627c1853e.tar.lz
nixlib-33d223f587af3504cbeb5f53e6bfc3b627c1853e.tar.xz
nixlib-33d223f587af3504cbeb5f53e6bfc3b627c1853e.tar.zst
nixlib-33d223f587af3504cbeb5f53e6bfc3b627c1853e.zip
Merge pull request #259466 from wegank/darktable-darwin
darktable: fix build on darwin
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/darktable/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/graphics/darktable/default.nix b/pkgs/applications/graphics/darktable/default.nix
index 9abc3cb9ce10..bdf12444b216 100644
--- a/pkgs/applications/graphics/darktable/default.nix
+++ b/pkgs/applications/graphics/darktable/default.nix
@@ -10,7 +10,7 @@
 , ninja
 , curl
 , perl
-, llvm_13
+, llvmPackages_13
 , desktop-file-utils
 , exiv2
 , glib
@@ -53,7 +53,6 @@
 , libheif
 , libaom
 , portmidi
-, fetchpatch
 , lua
 }:
 
@@ -66,7 +65,9 @@ stdenv.mkDerivation rec {
     sha256 = "c11d28434fdf2e9ce572b9b1f9bc4e64dcebf6148e25080b4c32eb51916cfa98";
   };
 
-  nativeBuildInputs = [ cmake ninja llvm_13 pkg-config intltool perl desktop-file-utils wrapGAppsHook ];
+  nativeBuildInputs = [ cmake ninja llvmPackages_13.llvm pkg-config intltool perl desktop-file-utils wrapGAppsHook ]
+    # LLVM Clang C compiler version 11.1.0 is too old and is unsupported. Version 12+ is required.
+    ++ lib.optionals stdenv.isDarwin [ llvmPackages_13.clang ];
 
   buildInputs = [
     cairo