Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

darwin: fix assorted xcbuild builds #30338

Merged
merged 1 commit into from Oct 12, 2017
Merged

Conversation

copumpkin
Copy link
Member

This includes adding a new xcbuild-based libutil build to test the waters a bit there. We'll need to get xcbuild into the stdenv bootstrap before we can make the main build, but it's nice to see that it can work.

cc @matthewbauer @LnL7

@@ -188,6 +188,22 @@ let
Type = "ProductType";
Name = "Dynamic Library";
PackageTypes = [ "com.apple.package-type.mach-o-dylib" ];
DefaultBuildProperties = {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without this it seems to try to compile my libutil dylib as an executable and complains about a missing _main symbol.

@matthewbauer
Copy link
Member

We’re you able to look at network_cmds? I think libipsec is available from apple.

@copumpkin
Copy link
Member Author

Haven't tried making a build for it yet, nope.

@copumpkin
Copy link
Member Author

@matthewbauer looks like the ipsec build is also broken by that lex issue I just filed a bug for in xcbuild

This includes adding a new xcbuild-based libutil build to test the waters a bit there.
We'll need to get xcbuild into the stdenv bootstrap before we can make the main build,
but it's nice to see that it can work.
@copumpkin
Copy link
Member Author

Whoops, realized I'd forgotten libutil/new.nix.

@copumpkin copumpkin merged commit 84f7f97 into NixOS:master Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants