-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
cc-wrapper, bintools-wrapper: simply symlink man and info outputs #46115
Conversation
Can we do the first commit for |
Timed out, unknown build status on x86_64-linux (full log) Attempted: stdenv Partial log (click to expand)
|
c8587c4
to
74f517d
Compare
Well, ok, the first patch is split into #46119 and this is now rebased on top of that.
|
@FRidh sorry for the code owner noise today. |
Timed out, unknown build status on aarch64-linux (full log) Attempted: stdenv Partial log (click to expand)
|
74f517d
to
c8587c4
Compare
Ah, #46119 is a mass-rebuild too. I reset this back to the original. |
With the previous commit `propagateDoc` is now always given the correct value (i.e. it is never set to `true` when there are no `man` and `info` outputs). Hence, we can simply symlink the original outputs to the wrapper outputs. Pros: - simpler, less indirection compared to `propagated-user-env-packages`, - uses less inodes (1 symlink, which nix then simply automatically resolves and removes, vs. two directories and a file), - makes direct references like "export MANPATH=${stdenv.cc.man}/share/man" simply work. Cons: - I'm not aware of any. This and the previous commit together almost completely revert commits fde7296, fa41297, and c981787.
89a3415
to
d32f51c
Compare
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.
I am not sure about the current nomenclature; shouldn't this target staging
?
Changed base to staging. |
Thank you. |
Yay! Thanks! I really hope this won't get reverted... |
Motivation for this change
See commit messages. See discussion in #43547.
Things done