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: Generalize builder to any-bsd setup hook #119916
Conversation
d6ef40c
to
8959dc0
Compare
What's the point of netBSDSetupHook? |
8959dc0
to
3bc3fc2
Compare
I recall a few things did |
> What's the point of netBSDSetupHook?
I recall a few things did `NETBSDSRCDIR` and not just `BSDSRCDIR`
(perhaps not intentionally). So I put that back.
Hmm, do you have an example? I looked through the NetBSD sources and
didn't see anywhere it was used outside a Makefile, and saw almost no
use of make -e, so I'd be curious to know what needs it.
|
Actually, I'm realising I don't understand how the builder works. Does bmake look at environment variables by default or something? How do all these things we export become Make variables? |
Oh good point! I used to put |
Check out |
052ba40
to
186193d
Compare
Do this to get ready for other BSDs.
186193d
to
82c231d
Compare
Motivation for this change
Do this to get ready for other BSDs.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)