gnu: kcov: Prepare for cross-compilation. * gnu/packages/code.scm (kcov)[arguments]: Look up bash in the inputs.
1 files changed, 4 insertions(+), 3 deletions(-) M gnu/packages/code.scm
M gnu/packages/code.scm => gnu/packages/code.scm +4 -3
@@ 588,10 588,11 @@ results and determine build stability.") #:phases (modify-phases %standard-phases (add-after 'unpack 'fix-/bin/bash-references (lambda _ (lambda* (#:key inputs #:allow-other-keys) (let ((bash (assoc-ref inputs "bash"))) (substitute* (find-files "src" ".*\\.cc?$") (("/bin/bash") (which "bash")) (("/bin/sh") (which "sh")))))))) (("/bin/(bash|sh)" shell) (string-append (assoc-ref inputs "bash") shell))))))))) (inputs `(("curl" ,curl) ("elfutils" ,elfutils)