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;