Revert "darktable: fix build on Darwin"

The ld64 issue has been fixed.

This reverts commit 3aad607343.
This commit is contained in:
Emily
2026-07-15 03:26:25 +01:00
parent e25c85530f
commit b3d3cfb270
+1 -8
View File
@@ -103,8 +103,7 @@ stdenv.mkDerivation rec {
pkg-config
wrapGAppsHook3
saxon # Use Saxon instead of libxslt to fix XSLT generate-id() consistency issues
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ llvmPackages.lld ];
];
buildInputs = [
SDL2
@@ -185,12 +184,6 @@ stdenv.mkDerivation rec {
"-DUSE_KWALLET=OFF"
];
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
# Work around ld64's libc++ hardening issue.
# TODO: Remove once #536365 reaches this branch.
NIX_CFLAGS_LINK = "-fuse-ld=lld";
};
# darktable changed its rpath handling in commit
# 83c70b876af6484506901e6b381304ae0d073d3c and as a result the
# binaries can't find libdarktable.so, so change LD_LIBRARY_PATH in