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
wtf: Add infocmp
to PATH, fixes #68103
#68134
Conversation
e52110e
to
b170193
Compare
@@ -27,6 +31,10 @@ buildGoModule rec { | |||
runHook postBuild | |||
''; | |||
|
|||
postInstall = '' | |||
wrapProgram "$out/bin/wtf" --prefix PATH : "${ncurses.dev}/bin" |
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.
Is this good style or should one better use stdenv.lib.makeBinPath
?
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.
LGTM. makeBinPath is only helpful when you are adding many packages to the PATH.
@@ -27,6 +31,10 @@ buildGoModule rec { | |||
runHook postBuild | |||
''; | |||
|
|||
postInstall = '' | |||
wrapProgram "$out/bin/wtf" --prefix PATH : "${ncurses.dev}/bin" |
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.
LGTM. makeBinPath is only helpful when you are adding many packages to the PATH.
@GrahamcOfBorg build wtf |
Thanks @avdv |
Motivation for this change
wtf
does not run on some terminals out of the box, see issue #68103.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @kalbasit