Skip to content

Commit

Permalink
chore: add more darwin overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Dec 16, 2024
1 parent 000bbe4 commit cac66f6
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions nix/overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cac66f6

Please sign in to comment.