[WIP] selected misc fixes on path to building darwin packages from linux #37606
+73
−36
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Includes commits previously submitted as #34503.
Current nixpkgs has a problem when targeting darwin from linux that causes infinite recursion,
which this does not address. I started working on that but the effort stalled and so I'm sharing these fixes in case they're useful to folks :).
This isn't really a PR, but I find sharing a small range of commits is much friendlier as a PR than if I just linked to the branch in a comment somewhere. Anyway I'll probably close this in a bit. GLHF!