diff --git a/nix/overlay.nix b/nix/overlay.nix index c20a24b761769..65ede9bf6aee0 100644 --- a/nix/overlay.nix +++ b/nix/overlay.nix @@ -53,13 +53,11 @@ let # Use base package set from pyproject.nix builders (pkgs.callPackage pyproject-nix.build.packages { inherit python; - stdenv = pkgs.stdenv.override ( - lib.optionalAttrs pkgs.stdenv.targetPlatform.isDarwin { - targetPlatform = pkgs.stdenv.targetPlatform // { - darwinSdkVersion = "12.0"; - }; - } - ); + stdenv = pkgs.stdenv.override { + targetPlatform = pkgs.stdenv.targetPlatform // { + darwinSdkVersion = "12.0"; + }; + }; }).overrideScope (lib.composeManyExtensions ([ pyproject-build-systems.overlays.default