Skip to content

Comments

[WIP] selected misc fixes on path to building darwin packages from linux#37606

Closed
dtzWill wants to merge 9 commits intoNixOS:masterfrom
dtzWill:upstream/cross-darwin-misc
Closed

[WIP] selected misc fixes on path to building darwin packages from linux#37606
dtzWill wants to merge 9 commits intoNixOS:masterfrom
dtzWill:upstream/cross-darwin-misc

Conversation

@dtzWill
Copy link
Member

@dtzWill dtzWill commented Mar 22, 2018

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!

dtzWill added 9 commits March 21, 2018 20:03
Using this fork to fix extraction on Linux.
* xpwn is primarily about ...xpwn.  Understandable :).
* libdmg-hfsplus focuses on dmg, hfs, hdutil tools
* Generally same authors, at least in terms of "upstream".

The tools are the same, just nothing else included.

Motivation for this is to allow unpacking xcode on Linux,
instead of the current behavior of crashing.

There are multiple forks of this but this is the only
one that works successfully on Linux.

Also, specify tools as nativeBuildInputs.
@dtzWill dtzWill requested review from Ericson2314 and nbp as code owners March 22, 2018 02:55
@GrahamcOfBorg GrahamcOfBorg added 6.topic: darwin Running or building packages on Darwin 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Mar 22, 2018
@dtzWill dtzWill closed this Mar 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants