-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Document usage and purpose of (propagated)nativeBuildInputs in nixpkgs manual #1915
Comments
Let's document that in 14.11 |
How does this interact with #4855? |
Not much, I believe, but it will be easier to document after agreeing on the new semantics, if we "want to switch it" :-) |
(triage) has it been documented yet? |
|
Can someone at least write in here what it does and why we need it? |
It's used for determining what packages are compiled natively when cross compiling. Everything else in buildInputs is cross compiled. |
see |
So really, |
I feel your pain @Profpatsch and thanks for every line of docs you write :) |
Yes, the "native" ones are inputs meant to be executed on the build machine and the regular ones are meant to be executed on the host machines (using GNU terminology). |
Also note that there are initiatives to rename these #4855, though they haven't really gathered enough momentum. |
- A new dependency section in the stdenv chapter - More information in the setup hook section of the stdenv chapter - Fix link destination in the cross compilation chapter Fixes NixOS#1915---with this change I think the distinction is finally clear enough.
- A new dependency section in the stdenv chapter - More information in the setup hook section of the stdenv chapter - Fix link destination in the cross compilation chapter Fixes NixOS#1915---with this change I think the distinction is finally clear enough.
- A new dependency section in the stdenv chapter - More information in the setup hook section of the stdenv chapter - Fix link destination in the cross compilation chapter Fixes NixOS#1915---with this change I think the distinction is finally clear enough.
https://nixos.org/nixpkgs/manual/#ssec-stdenv-attributes -- It is documented here, isn't it ? @vcunat can this be closed? |
Right, thanks. |
- A new dependency section in the stdenv chapter - More information in the setup hook section of the stdenv chapter - Fix link destination in the cross compilation chapter Fixes NixOS#1915---with this change I think the distinction is finally clear enough.
Heh, I was leaving this open because in my yet-to-be merged PR the documentation is much improved, but oh well! |
- A new dependency section in the stdenv chapter - More information in the setup hook section of the stdenv chapter - Fix link destination in the cross compilation chapter Fixes NixOS#1915---with this change I think the distinction is finally clear enough.
- A new dependency section in the stdenv chapter - More information in the setup hook section of the stdenv chapter - Fix link destination in the cross compilation chapter Fixes NixOS#1915---with this change I think the distinction is finally clear enough.
- A new dependency section in the stdenv chapter - More information in the setup hook section of the stdenv chapter - Fix link destination in the cross compilation chapter Fixes NixOS#1915---with this change I think the distinction is finally clear enough.
This accounts for all the new dependencies and propagation logic changes I'm about to add. Fixes NixOS#1915---with this change I think the distinction is finally clear enough.
No description provided.
The text was updated successfully, but these errors were encountered: