mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 15:41:16 +00:00
Revert "blueutil: fix build by linking with lld"
The ld64 issue has been fixed.
This reverts commit 7168ff819b.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user