From 2022cc9e98bf17d58c71fd0b664faa974d9161fc Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 24 Sep 2023 02:00:00 +0200 Subject: 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. --- gnu/packages/code.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index 3c6af4f70c..071f1b9e38 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm @@ -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 -- cgit v1.2.3