[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/11: gnu: seqan-2: Use gexp for builder.
From: |
guix-commits |
Subject: |
04/11: gnu: seqan-2: Use gexp for builder. |
Date: |
Sat, 4 Dec 2021 13:54:55 -0500 (EST) |
rekado pushed a commit to branch core-updates-frozen
in repository guix.
commit 2c1c75a56cffbb1a9ba4c1fc6266fc4bff47ea22
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Dec 4 19:39:19 2021 +0100
gnu: seqan-2: Use gexp for builder.
* gnu/packages/bioinformatics.scm (seqan-2)[arguments]: Use a gexp to remove
references to %build-inputs and %outputs.
---
gnu/packages/bioinformatics.scm | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 8b3f1af..1a524e0 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -7094,18 +7094,17 @@ bioinformatics file formats, sequence alignment, and
more.")
(arguments
`(#:modules ((guix build utils))
#:builder
- (begin
- (use-modules (guix build utils))
- (let ((tar (assoc-ref %build-inputs "tar"))
- (xz (assoc-ref %build-inputs "xz"))
- (out (assoc-ref %outputs "out"))
- (doc (assoc-ref %outputs "doc")))
- (setenv "PATH" (string-append tar "/bin:" xz "/bin"))
- (invoke "tar" "xvf" (assoc-ref %build-inputs "source"))
- (chdir (string-append "seqan-library-" ,version))
- (copy-recursively "include" (string-append out "/include"))
- (copy-recursively "share" (string-append doc "/share"))
- #t))))
+ ,#~(begin
+ (use-modules (guix build utils))
+ (let ((tar #$(this-package-native-input "tar"))
+ (xz #$(this-package-native-input "xz"))
+ (out #$output)
+ (doc #$output:doc))
+ (setenv "PATH" (string-append tar "/bin:" xz "/bin"))
+ (invoke "tar" "xvf" #$(this-package-native-input "source"))
+ (chdir (string-append "seqan-library-" #$version))
+ (copy-recursively "include" (string-append out "/include"))
+ (copy-recursively "share" (string-append doc "/share"))))))
(native-inputs
`(("source" ,source)
("tar" ,tar)
- branch core-updates-frozen updated (bd74691 -> 98d2abe), guix-commits, 2021/12/04
- 04/11: gnu: seqan-2: Use gexp for builder.,
guix-commits <=
- 05/11: gnu: seqan-1: Use gexp for builder., guix-commits, 2021/12/04
- 03/11: gnu: sra-tools: Remove references to %build-inputs., guix-commits, 2021/12/04
- 01/11: gnu: preseq: Simplify snippet., guix-commits, 2021/12/04
- 02/11: gnu: preseq: Remove references to %outputs and %build-inputs., guix-commits, 2021/12/04
- 06/11: gnu: vcftools: Replace references to %outputs., guix-commits, 2021/12/04
- 07/11: gnu: emboss: Remove reference to %build-inputs., guix-commits, 2021/12/04
- 08/11: gnu: piranha: Remove trailing #T., guix-commits, 2021/12/04
- 10/11: gnu: sailfish: Simplify snippet., guix-commits, 2021/12/04
- 11/11: gnu: sailfish: Remove references to %build-inputs., guix-commits, 2021/12/04
- 09/11: gnu: piranha: Remove references to %build-inputs., guix-commits, 2021/12/04