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

It is required for cross-compilation.

* gnu/packages/code.scm
(cloc)[inputs]: Add 'bash-minimal'.
(lcov)[inputs]: Likewise.

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

View file

@ -349,7 +349,8 @@ (define-public cloc
(base32 "0j7qwc5n1y05jl3rq83mf1d0pavkz9z0waqi8dxblkgw4pwwnjyv"))))
(build-system gnu-build-system)
(inputs
(list coreutils
(list bash-minimal
coreutils
perl
perl-algorithm-diff
perl-digest-md5
@ -575,9 +576,8 @@ (define-public lcov
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(wrap-program (string-append out "/bin/geninfo")
`("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))
#t)))))
(inputs (list perl perl-io-compress perl-json))
`("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))))))))
(inputs (list bash-minimal perl perl-io-compress perl-json))
(home-page "https://ltp.sourceforge.net/coverage/lcov.php")
(synopsis "Code coverage tool that enhances GNU gcov")
(description "LCOV is an extension of @command{gcov}, a tool part of the