aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-12-04 19:39:19 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-12-04 19:54:28 +0100
commit2c1c75a56cffbb1a9ba4c1fc6266fc4bff47ea22 (patch)
tree8a6d50a9f166ffb407e6bd4233ccf20e575d6ba2 /gnu/packages
parentf41576c09f79f9ce14ed8aa7fb044c1b8fc6a28d (diff)
downloadguix-2c1c75a56cffbb1a9ba4c1fc6266fc4bff47ea22.tar
guix-2c1c75a56cffbb1a9ba4c1fc6266fc4bff47ea22.tar.gz
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/bioinformatics.scm23
1 files changed, 11 insertions, 12 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 8b3f1af379..1a524e0ecf 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)