Revert "qemu: work around ld64 hardening issue"

The ld64 issue has been fixed.

This reverts commit 7a83e820dd.
This commit is contained in:
Emily
2026-07-15 03:19:06 +01:00
parent a63bd18268
commit 4e60e200cc

View File

@@ -123,9 +123,6 @@
minimal ? toolsOnly || userOnly,
gitUpdater,
qemu-utils, # for tests attribute
# TODO: Clean up on `staging`.
llvmPackages,
}:
assert lib.assertMsg (
@@ -183,9 +180,6 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optionals hexagonSupport [ glib ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.sigtool
# TODO: Clean up on `staging`.
llvmPackages.lld
]
++ lib.optionals (!userOnly) [ dtc ];
@@ -431,10 +425,6 @@ stdenv.mkDerivation (finalAttrs: {
ln -s $out/bin/qemu-system-${stdenv.hostPlatform.qemuArch} $out/bin/qemu-kvm
'';
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
NIX_CFLAGS_LINK = "-fuse-ld=lld";
};
passthru = {
qemu-system-i386 = "bin/qemu-system-i386";
tests = lib.optionalAttrs (!toolsOnly) {