From 3d292de60927237e598a89857233ce7ea533c67b Mon Sep 17 00:00:00 2001 From: Reno Dakota Date: Mon, 23 Dec 2024 14:32:38 -0800 Subject: [PATCH] qemu: remove out of sync buildPlatformStdenv not needed after b1c19ac8f98d0f4dafecd6c2ad7faa764d7bac41 --- pkgs/applications/virtualization/qemu/default.nix | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/pkgs/applications/virtualization/qemu/default.nix b/pkgs/applications/virtualization/qemu/default.nix index 791c0308c2275..025a295d5e9aa 100644 --- a/pkgs/applications/virtualization/qemu/default.nix +++ b/pkgs/applications/virtualization/qemu/default.nix @@ -56,16 +56,6 @@ assert lib.assertMsg (xenSupport -> hostCpuTargets == [ "i386-softmmu" ]) "Xen s let hexagonSupport = hostCpuTargets == null || lib.elem "hexagon" hostCpuTargets; - - buildPlatformStdenv = - if stdenv.buildPlatform.isDarwin then - overrideSDK buildPackages.stdenv { - # Keep these values in sync with `all-packages.nix`. - darwinSdkVersion = "12.3"; - darwinMinVersion = "12.0"; - } - else - buildPackages.stdenv; in stdenv.mkDerivation (finalAttrs: { @@ -82,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-+FnwvGXh9TPQQLvoySvP7O5a8skhpmh8ZS+0TQib2JQ="; }; - depsBuildBuild = [ buildPlatformStdenv.cc ] + depsBuildBuild = [ buildPackages.stdenv.cc ] ++ lib.optionals hexagonSupport [ pkg-config ]; nativeBuildInputs = [