-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
libinput: split utilities to a bin output #42193
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.
Nice! 👍 Should go through the staging branch though.
Awesome, thanks for reviewing! I'm not sure I understand though. Did I need to do something different for this pull request? |
Yeah, please base your commit on staging (force-push) and change the target branch of this PR to staging (via edit). The reason for this is because this is a mass rebuild (see the labels) and should therefore be prebuilt by hydra from the staging branch before hitting master so people using master don't have to rebuild the world. :) |
Got it, will do. Thank you! |
libinput builds some executables which are useful for debugging or unusual configurations, but not necessary in normal use of the library. (See libinput(1) and the other referenced man pages.) Some of these programs require Python, which makes the closure significantly larger. Splitting /libexec/ and /bin/ to a separate "bin" output allows systems that don't need these utilities to avoid the substantial size hit.
7626669
to
ae09fe2
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.
Most people expect out
to contain those binaries, and they won't know to look for bin
. That name feels wee not non-descriptive.
Amended in ab539ab. |
Thank you @vcunat! But doesn't this mean that all the existing references to
|
Anything that wants the libraries probably is actually using the |
Oh! I didn't realize |
Yes, all the references I see seem OK. There's been lots of effort put into the multiple-output framework to cover the most common cases automatically. |
Motivation for this change
libinput builds some executables which are useful for debugging or unusual configurations, but not necessary in normal use of the library. (See libinput(1) and the other referenced man pages.)
Some of these programs require Python, which makes the closure significantly larger. Splitting /libexec/ and /bin/ to a separate "bin" output allows systems that don't need these utilities to avoid the substantial size hit.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)