Revert "blueutil: fix build by linking with lld"

The ld64 issue has been fixed.

This reverts commit 7168ff819b.
This commit is contained in:
Emily
2026-07-15 03:19:39 +01:00
parent c0324ab3a3
commit 7f3a48d8db

View File

@@ -2,7 +2,6 @@
lib,
stdenv,
fetchFromGitHub,
llvmPackages,
testers,
nix-update-script,
}:
@@ -18,12 +17,7 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-Qw5c9dp7wpuOcQSLsg1pfJ+NbrEtme2o6nKD3Ba3A3M=";
};
# TODO: Remove when NixOS/nixpkgs#536365 reaches master.
nativeBuildInputs = [ llvmPackages.lld ];
env.NIX_CFLAGS_COMPILE = "-Wall -Wextra -Werror -mmacosx-version-min=10.9 -framework Foundation -framework IOBluetooth";
# TODO: Remove when NixOS/nixpkgs#536365 reaches master.
env.NIX_CFLAGS_LINK = "--ld-path=${lib.getExe' llvmPackages.lld "ld64.lld"}";
installPhase = ''
runHook preInstall