From cac66f6104c61deb130e52e6460840387bb772a6 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Mon, 16 Dec 2024 09:48:04 -0500 Subject: [PATCH] chore: add more darwin overrides --- nix/overlay.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/nix/overlay.nix b/nix/overlay.nix index c20a24b76176..65ede9bf6aee 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