Merge pull request #68134 from avdv/wtf-add-infocmp
wtf: Add `infocmp` to PATH, fixes #68103
This commit is contained in:
commit
ce67c2ef59
@ -1,6 +1,8 @@
|
|||||||
{ buildGoModule
|
{ buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, lib
|
, lib
|
||||||
|
, makeWrapper
|
||||||
|
, ncurses
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
@ -18,6 +20,8 @@ buildGoModule rec {
|
|||||||
|
|
||||||
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
# As per https://github.com/wtfutil/wtf/issues/501, one of the
|
# As per https://github.com/wtfutil/wtf/issues/501, one of the
|
||||||
# dependencies can't be fetched, so vendored dependencies should
|
# dependencies can't be fetched, so vendored dependencies should
|
||||||
# be used instead
|
# be used instead
|
||||||
@ -27,6 +31,10 @@ buildGoModule rec {
|
|||||||
runHook postBuild
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram "$out/bin/wtf" --prefix PATH : "${ncurses.dev}/bin"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The personal information dashboard for your terminal";
|
description = "The personal information dashboard for your terminal";
|
||||||
homepage = "https://wtfutil.com/";
|
homepage = "https://wtfutil.com/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user