diff options
Diffstat (limited to 'gnu/packages/less.scm')
-rw-r--r-- | gnu/packages/less.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/less.scm b/gnu/packages/less.scm index 4c8552c004..413cd05be6 100644 --- a/gnu/packages/less.scm +++ b/gnu/packages/less.scm @@ -84,11 +84,11 @@ text editors.") (lambda* (#:key inputs #:allow-other-keys) (substitute* "lesspipe.sh" (("tput colors") - (string-append (assoc-ref inputs "ncurses") - "/bin/tput colors")) + (string-append (search-input-file inputs "/bin/tput") + " colors")) (("file -") - (string-append (assoc-ref inputs "file") - "/bin/file -")))))))) + (string-append (search-input-file inputs "/bin/file") + " -")))))))) (inputs `(("file" ,file) ("ncurses" ,ncurses))) ; for tput |