Revert "iamb: fix darwin build"

The ld64 issue has been fixed.

This reverts commit 8f575ecf14.
This commit is contained in:
Emily
2026-07-15 03:26:25 +01:00
parent d14250c1b0
commit 1077d6b0cd
-11
View File
@@ -6,8 +6,6 @@
writableTmpDirAsHomeHook,
versionCheckHook,
nix-update-script,
llvmPackages,
stdenv,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -29,17 +27,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
nativeBuildInputs = [
installShellFiles
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# TODO: Remove once #536365 reaches this branch
llvmPackages.lld
];
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
# TODO: Remove once #536365 reaches this branch
NIX_CFLAGS_LINK = "-fuse-ld=lld";
};
postInstall = ''
installManPage $src/docs/iamb.{1,5}
install -D $src/docs/iamb.svg -t $out/share/icons/hicolor/scalable/apps