gnu: ranger: Add 'bash' input for 'wrap-program'.

It is required for cross-compilation.

* gnu/packages/disk.scm
(ranger)[inputs]: Add 'bash-minimal'.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: Idff39ad6a1d50519724f3c445a01eee30826092e
This commit is contained in:
Maxime Devos 2021-07-02 12:07:36 +02:00 committed by Ludovic Courtès
parent fcc203d144
commit 8ac86b913c
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -954,7 +954,7 @@ (define-public ranger
"0lfjrpv3z4h0knd3v94fijrw2zjba51mrp3mjqx2c98wr428l26f"))))
(build-system python-build-system)
(inputs
(list w3m))
(list bash-minimal w3m))
(native-inputs
(list which
;; For tests.
@ -973,8 +973,7 @@ (define-public ranger
(w3mimgdisplay (string-append w3m
"/libexec/w3m/w3mimgdisplay")))
(wrap-program ranger
`("W3MIMGDISPLAY_PATH" ":" prefix (,w3mimgdisplay)))
#t)))
`("W3MIMGDISPLAY_PATH" ":" prefix (,w3mimgdisplay))))))
(replace 'check
;; The default check phase simply prints 'Ran 0 tests in 0.000s'.
(lambda* (#:key test-target #:allow-other-keys)