Revert "iamb: fix darwin build"
The ld64 issue has been fixed.
This reverts commit 8f575ecf14.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user