mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 13:36:36 +01:00
gnu: liquidprompt: Patch additional utilities
* gnu/packages/shellutils.scm (liquidprompt) [inputs]: Add coreutils and inetutils. [arguments]<#:phases>: Replace the paths of more utilites Change-Id: I84578ca40300a7527a23e5d8c3257d49be911a7b Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
94bb6a5a88
commit
f92f6f0a59
1 changed files with 13 additions and 7 deletions
|
@ -47,6 +47,7 @@ (define-module (gnu packages shellutils)
|
|||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system go)
|
||||
#:use-module (guix build-system python)
|
||||
#:use-module (gnu packages admin)
|
||||
#:use-module (gnu packages autotools)
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages bison)
|
||||
|
@ -946,14 +947,19 @@ (define-public liquidprompt
|
|||
(string-append "source "
|
||||
#$output
|
||||
"/share/liquidprompt/liquidprompt")))))
|
||||
(add-after 'fix-plugin 'fix-tput-path
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "liquidprompt"
|
||||
(("([ (])tput " all beginning)
|
||||
(add-after 'fix-plugin 'fix-utils-path
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "liquidprompt"
|
||||
(("([ (])\\\\?(tput|hostname|cksum|uname|tty|grep)([) ])"
|
||||
all beginning command ending)
|
||||
(string-append beginning
|
||||
(search-input-file inputs "bin/tput")
|
||||
" "))))))))
|
||||
(inputs (list ncurses))
|
||||
(search-input-file
|
||||
inputs
|
||||
(string-append "bin/" command))
|
||||
ending))))))))
|
||||
(inputs (list ncurses
|
||||
coreutils
|
||||
inetutils))
|
||||
(synopsis "Full-featured prompt for Bash & Zsh")
|
||||
(description
|
||||
"Liquidprompt is an adaptive prompt for Bash and Zsh that gives
|
||||
|
|
Loading…
Reference in a new issue