Revert "lima: fix build on Darwin by linking with lld"

The ld64 issue has been fixed.

This reverts commit 5ce128c4d9.
This commit is contained in:
Emily
2026-07-15 03:26:25 +01:00
parent cd3be32b01
commit 1b1b7273eb
+1 -11
View File
@@ -11,7 +11,6 @@
apple-sdk_15,
withAdditionalGuestAgents ? false,
lima-additional-guestagents,
llvmPackages,
writableTmpDirAsHomeHook,
versionCheckHook,
testers,
@@ -36,16 +35,7 @@ buildGoModule (finalAttrs: {
# For checkPhase, and installPhase(required to build completion)
writableTmpDirAsHomeHook
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.sigtool
# TODO: Remove when NixOS/nixpkgs#536365 reaches master.
llvmPackages.lld
];
# TODO: Remove when NixOS/nixpkgs#536365 reaches master.
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
NIX_CFLAGS_LINK = "-fuse-ld=${lib.getExe' llvmPackages.lld "ld64.lld"}";
};
++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.sigtool ];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_15 ];