-
-
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
st: remove unused build inputs, drop wrapper #47724
Conversation
- remove unused buildInputs - ncurses belongs in nativeBuildInputs (tic to compile terminfo) - drop dmenu wrapper, st doesn't use dmenu at all
Success on x86_64-linux (full log) Attempted: st Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: st Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: st Partial log (click to expand)
|
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.
Still works on my machine with ncurses and all, and less code is usually always better 😄
I'm kind of late for the party, but just realized that the
This should be reverted imho. |
I don't see this line here: https://git.suckless.org/st/file/st.1.html |
I'm not sure which revision this web version shows, perhaps the master branch. However, the packaged
|
Upstream removed that feature in https://git.suckless.org/st/commit/67d0cb65d0794e2d91e72e5fa1e3612172e5812e.html. |
Thanks for this information. But shouldn't this be removed on a version bump from |
I'm not sure we need to revert this. I use st 0.8.1 and have dmenu installed separately. The codepoint feature works fine without a wrapper. I suggest to leave st as is and treat dmenu as an optional dependency that needs to be in PATH if you want to use it. |
I have to admit that I'm not 100% on your side with this one, but we can leave this as it is. The assumption that users of |
Let's do that. Sorry for the inconvenience. When I made this PR I apparently looked at a newer source version and thought dmenu wasn't used at all. I didn't even know that feature existed. My mistake. |
Motivation for this change
cleanup:
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)cc @andsild