diff options
| author | Tobias Geerinckx-Rice <me@tobias.gr> | 2023-09-24 02:00:00 +0200 |
|---|---|---|
| committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2023-09-24 02:00:00 +0200 |
| commit | 2022cc9e98bf17d58c71fd0b664faa974d9161fc (patch) | |
| tree | f544e7d2a612837f511049dd3ac2b5a758e403b2 /gnu/packages/code.scm | |
| parent | b7789fb9e19b3cc2d0c1429e0c9a4442de4570eb (diff) | |
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.
Diffstat (limited to 'gnu/packages/code.scm')
| -rw-r--r-- | gnu/packages/code.scm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index 3c6af4f70c3..071f1b9e38b 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm | |||
| @@ -640,10 +640,9 @@ results and determine build stability.") | |||
| 640 | (modify-phases %standard-phases | 640 | (modify-phases %standard-phases |
| 641 | (add-after 'unpack 'fix-/bin/bash-references | 641 | (add-after 'unpack 'fix-/bin/bash-references |
| 642 | (lambda* (#:key inputs #:allow-other-keys) | 642 | (lambda* (#:key inputs #:allow-other-keys) |
| 643 | (let ((bash (assoc-ref inputs "bash"))) | ||
| 644 | (substitute* (find-files "src" ".*\\.cc?$") | 643 | (substitute* (find-files "src" ".*\\.cc?$") |
| 645 | (("/bin/(bash|sh)" shell) | 644 | (("/bin/(bash|sh)" shell) |
| 646 | (string-append (assoc-ref inputs "bash") shell))))))))) | 645 | (search-input-file inputs shell)))))))) |
| 647 | (inputs | 646 | (inputs |
| 648 | (list curl elfutils libelf openssl zlib)) | 647 | (list curl elfutils libelf openssl zlib)) |
| 649 | (native-inputs | 648 | (native-inputs |
