~ruther/guix-local

c6e99f78f0f8c9d4da11162acd55ec73c8625641 — Tobias Geerinckx-Rice 4 years ago 1e4b2d8
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)