me
/
guix
Archived
1
0
Fork 0

gnu: kcov: Clean up build phase.

* gnu/packages/code.scm (kcov)[arguments]: Use SEARCH-INPUT-FILE and
remove a vestigial LET from the 'fix-/bin/bash-references phase.
master
Tobias Geerinckx-Rice 2023-09-24 02:00:00 +02:00
parent b7789fb9e1
commit 2022cc9e98
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 1 additions and 2 deletions

View File

@ -640,10 +640,9 @@ results and determine build stability.")
(modify-phases %standard-phases
(add-after 'unpack 'fix-/bin/bash-references
(lambda* (#:key inputs #:allow-other-keys)
(let ((bash (assoc-ref inputs "bash")))
(substitute* (find-files "src" ".*\\.cc?$")
(("/bin/(bash|sh)" shell)
(string-append (assoc-ref inputs "bash") shell)))))))))
(search-input-file inputs shell))))))))
(inputs
(list curl elfutils libelf openssl zlib))
(native-inputs