[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/19: gnu: mafft: Replace references to %build-inputs and %outputs.
From: |
guix-commits |
Subject: |
15/19: gnu: mafft: Replace references to %build-inputs and %outputs. |
Date: |
Fri, 3 Dec 2021 18:33:49 -0500 (EST) |
rekado pushed a commit to branch core-updates-frozen
in repository guix.
commit 630671d2e8c5f24bd14b7ea581108f76a54b2865
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Dec 4 00:21:27 2021 +0100
gnu: mafft: Replace references to %build-inputs and %outputs.
* gnu/packages/bioinformatics.scm (mafft)[arguments]: Replace references to
%outputs with a gexp; replace reference to %build-inputs in the
'wrap-programs
phase by binding INPUTS.
---
gnu/packages/bioinformatics.scm | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 9d8a33d..0c75169 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -5221,10 +5221,9 @@ sequencing tag position and orientation.")
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no automated tests, though there are tests in the read me
- #:make-flags (let ((out (assoc-ref %outputs "out")))
- (list (string-append "PREFIX=" out)
- (string-append "BINDIR="
- (string-append out "/bin"))))
+ #:make-flags ,#~(list (string-append "PREFIX=" #$output)
+ (string-append "BINDIR="
+ (string-append #$output "/bin")))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'enter-dir
@@ -5264,11 +5263,11 @@ sequencing tag position and orientation.")
#t))
(delete 'configure)
(add-after 'install 'wrap-programs
- (lambda* (#:key outputs #:allow-other-keys)
+ (lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(path (string-append
- (assoc-ref %build-inputs "coreutils") "/bin:")))
+ (assoc-ref inputs "coreutils") "/bin:")))
(for-each (lambda (file)
(wrap-program file
`("PATH" ":" prefix (,path))))
- 04/19: gnu: bless: Remove reference to %build-inputs., (continued)
- 04/19: gnu: bless: Remove reference to %build-inputs., guix-commits, 2021/12/03
- 05/19: gnu: bowtie: Remove reference to %outputs., guix-commits, 2021/12/03
- 06/19: gnu: bowtie1: Replace reference to %outputs., guix-commits, 2021/12/03
- 07/19: gnu: cd-hit: Replace reference to %outputs., guix-commits, 2021/12/03
- 10/19: gnu: fxtract: Replace reference to %outputs., guix-commits, 2021/12/03
- 12/19: gnu: java-picard: Replace reference to %build-inputs., guix-commits, 2021/12/03
- 13/19: gnu: fastp: Replace reference to %outputs., guix-commits, 2021/12/03
- 14/19: gnu: jellyfish: Replace reference to %outputs., guix-commits, 2021/12/03
- 18/19: gnu: mash: Move htslib and capnproto to regular inputs., guix-commits, 2021/12/03
- 19/19: gnu: mash: Replace references to %build-inputs., guix-commits, 2021/12/03
- 15/19: gnu: mafft: Replace references to %build-inputs and %outputs.,
guix-commits <=
- 16/19: gnu: mafft: Remove trailing #T., guix-commits, 2021/12/03
- 17/19: gnu: mash: Simplify snippet., guix-commits, 2021/12/03
- 09/19: gnu: delly: Replace reference to %outputs., guix-commits, 2021/12/03
- 11/19: gnu: java-htsjdk: Replace reference to %outputs., guix-commits, 2021/12/03
- 08/19: gnu: libbigwig: Replace reference to %outputs., guix-commits, 2021/12/03