[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/30: gnu: kcov: Prepare for cross-compilation.
From: |
guix-commits |
Subject: |
25/30: gnu: kcov: Prepare for cross-compilation. |
Date: |
Fri, 26 Nov 2021 18:53:12 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit c6e99f78f0f8c9d4da11162acd55ec73c8625641
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Fri Nov 26 22:22:08 2021 +0100
gnu: kcov: Prepare for cross-compilation.
* gnu/packages/code.scm (kcov)[arguments]: Look up bash in the inputs.
---
gnu/packages/code.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index 8804173..29479ca 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -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)
- 15/30: build-self: Help users to submit useful bug reports., (continued)
- 15/30: build-self: Help users to submit useful bug reports., guix-commits, 2021/11/26
- 20/30: gnu: wesnoth: Update to 1.16.1., guix-commits, 2021/11/26
- 12/30: gnu: inxi-minimal: Update to 3.3.09-1., guix-commits, 2021/11/26
- 13/30: daemon: Print the line whence we expect an integer., guix-commits, 2021/11/26
- 19/30: gnu: solaar: Update to 1.0.7., guix-commits, 2021/11/26
- 21/30: gnu: libnftnl: Update to 1.2.1., guix-commits, 2021/11/26
- 22/30: gnu: nftables: Update to 1.0.1., guix-commits, 2021/11/26
- 23/30: gnu: borgmatic: Update to 1.5.21., guix-commits, 2021/11/26
- 24/30: gnu: kcov: Update to 39., guix-commits, 2021/11/26
- 16/30: gnu: exfatprogs: Update to 1.1.3., guix-commits, 2021/11/26
- 25/30: gnu: kcov: Prepare for cross-compilation.,
guix-commits <=
- 28/30: gnu: cpuid: Update to 20211121., guix-commits, 2021/11/26
- 29/30: gnu: davfs2: Update to 1.6.1., guix-commits, 2021/11/26
- 26/30: gnu: yadifa: Update to 2.5.3., guix-commits, 2021/11/26
- 27/30: gnu: lesspipe: Update to 1.91., guix-commits, 2021/11/26
- 30/30: gnu: wavemon: Update to 0.9.4., guix-commits, 2021/11/26