-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
NetBSD cross compiling #55023
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
NetBSD cross compiling #55023
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!!
Wooo! Staging and then it's a-go? We should get this on some their mailing list or whatever. It should be a great way to draw in more people to Nix/Nixpkgs/NixOS. |
To avoid breaking anything I might wait until branching off for 19.03 |
I also am trying to upstream the GCC patch here: |
Good luck with the upstream! |
e21a930
to
93097e1
Compare
Hopefully easier then getting stuff into the LLVM. |
f916304
to
1a34dd8
Compare
Using the + operator with throw doesn’t seems to work properly. You need to use antiquotes here to get the targetPlatform config included.
@@ -23258,8 +23260,10 @@ in | |||
|
|||
fts = if stdenv.hostPlatform.isMusl then netbsd.fts else null; | |||
|
|||
inherit (recurseIntoAttrs (callPackages ../os-specific/bsd { })) | |||
netbsd; | |||
netbsd = callPackages ../os-specific/bsd/netbsd {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This removed recurseIntoAttrs
and thus the packages aren't built by Hydra anymore. Was that intentional?
The bigger problem is that netbsd-make won't build on Darwin anymore, breaking lots of packages, e.g. https://hydra.nixos.org/job/nixpkgs/trunk/getent.x86_64-darwin |
Well, |
Very weird. I’ll look into it |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)