Skip to content

Commit 9c4c97a

Browse files
authored
qemu: remove out of sync buildPlatformStdenv (#367764)
2 parents c99f6ed + 3d292de commit 9c4c97a

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

pkgs/applications/virtualization/qemu/default.nix

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,6 @@ assert lib.assertMsg (xenSupport -> hostCpuTargets == [ "i386-softmmu" ]) "Xen s
5656

5757
let
5858
hexagonSupport = hostCpuTargets == null || lib.elem "hexagon" hostCpuTargets;
59-
60-
buildPlatformStdenv =
61-
if stdenv.buildPlatform.isDarwin then
62-
overrideSDK buildPackages.stdenv {
63-
# Keep these values in sync with `all-packages.nix`.
64-
darwinSdkVersion = "12.3";
65-
darwinMinVersion = "12.0";
66-
}
67-
else
68-
buildPackages.stdenv;
6959
in
7060

7161
stdenv.mkDerivation (finalAttrs: {
@@ -82,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: {
8272
hash = "sha256-+FnwvGXh9TPQQLvoySvP7O5a8skhpmh8ZS+0TQib2JQ=";
8373
};
8474

85-
depsBuildBuild = [ buildPlatformStdenv.cc ]
75+
depsBuildBuild = [ buildPackages.stdenv.cc ]
8676
++ lib.optionals hexagonSupport [ pkg-config ];
8777

8878
nativeBuildInputs = [

0 commit comments

Comments
 (0)