diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-09-05 21:56:34 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-09-05 22:30:04 +0300 |
commit | de3c03a47160dec355d9b19ad5ca210d90c15fd7 (patch) | |
tree | 4ca6dc05b5fc9530d812bbb269f1c61ab9efccf3 /gnu/packages/less.scm | |
parent | ab6fe9d362046231ad6f46eccfd1ea2c9c80b401 (diff) | |
parent | b8477cab7bccc4191ed3dfa3f149aec7917834d8 (diff) | |
download | guix-patches-de3c03a47160dec355d9b19ad5ca210d90c15fd7.tar guix-patches-de3c03a47160dec355d9b19ad5ca210d90c15fd7.tar.gz |
Merge remote-tracking branch 'origin/master' into staging
Diffstat (limited to 'gnu/packages/less.scm')
-rw-r--r-- | gnu/packages/less.scm | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/gnu/packages/less.scm b/gnu/packages/less.scm index f6ee355b68..6543435fab 100644 --- a/gnu/packages/less.scm +++ b/gnu/packages/less.scm @@ -59,7 +59,7 @@ text editors.") (define-public lesspipe (package (name "lesspipe") - (version "1.84") + (version "1.85") (source (origin (method git-fetch) (uri (git-reference @@ -68,7 +68,7 @@ text editors.") (file-name (git-file-name name version)) (sha256 (base32 - "124ffhzrikr88ab14rk6753n8adxijpmg7q3zx7nmqc52wpkfd8q")))) + "1v1jdkdq1phc93gdr6mjlk98gipxrkkq4bj8kks0kfdvjgdwkdaa")))) (build-system gnu-build-system) (arguments '(#:tests? #f ; no tests @@ -80,7 +80,17 @@ text editors.") (invoke "./configure" (string-append "--prefix=" out) "--yes") - #t)))))) + #t))) + (add-before 'install 'patch-tput-and-file + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "lesspipe.sh" + (("tput colors") + (string-append (assoc-ref inputs "ncurses") + "/bin/tput colors")) + (("file -") + (string-append (assoc-ref inputs "file") + "/bin/file -"))) + #t))))) (inputs `(("file" ,file) ("ncurses" ,ncurses))) ; for tput |