From 064a1797835e5291cb68a3f2341a4cb5a88e88cf Mon Sep 17 00:00:00 2001 From: Ryan Omasta Date: Tue, 14 Jul 2026 20:09:30 -0600 Subject: [PATCH] qt5.qtmacextras: fix build --- pkgs/development/libraries/qt-5/modules/qtmacextras.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/qt-5/modules/qtmacextras.nix b/pkgs/development/libraries/qt-5/modules/qtmacextras.nix index 38fc7d0caae1..d54096a0ea31 100644 --- a/pkgs/development/libraries/qt-5/modules/qtmacextras.nix +++ b/pkgs/development/libraries/qt-5/modules/qtmacextras.nix @@ -2,11 +2,17 @@ lib, qtModule, qtbase, + llvmPackages, }: qtModule { pname = "qtmacextras"; propagatedBuildInputs = [ qtbase ]; + + # TODO: Remove once #536365 reaches this branch + nativeBuildInputs = [ llvmPackages.lld ]; + env.NIX_CFLAGS_LINK = "-fuse-ld=lld"; + meta = { maintainers = [ ]; platforms = lib.platforms.darwin;