Skip to content

Commit

Permalink
fix_:override apple_sdk to use version 11.0 for macOS builds
Browse files Browse the repository at this point in the history
- Updated overlay.nix to override the default `apple_sdk` version for macOS builds.
- Resolved issue with missing component of SDK in x86_64 builds by setting `darwin.apple_sdk` to `apple_sdk_11_0`.
  • Loading branch information
mendelskiv93 committed Sep 29, 2024
1 parent 1e8b012 commit ee73bec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion nix/overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,9 @@ in rec {
})
];
}));
}

# Override darwin.apple_sdk globally
darwin = prev.darwin // {
apple_sdk = prev.darwin.apple_sdk_11_0;
}
}

0 comments on commit ee73bec

Please sign in to comment.