guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/16: gnu: kcov: Clean up build phase.


From: guix-commits
Subject: 03/16: gnu: kcov: Clean up build phase.
Date: Thu, 28 Sep 2023 19:12:51 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 2022cc9e98bf17d58c71fd0b664faa974d9161fc
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Sep 24 02:00:00 2023 +0200

    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(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]