guix-commits
[Top][All Lists]
Advanced

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

05/11: gnu: seqan-1: Use gexp for builder.


From: guix-commits
Subject: 05/11: gnu: seqan-1: 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 eec1bdcd9e49962979a0f6abce65bd87d550b395
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Dec 4 19:40:05 2021 +0100

    gnu: seqan-1: Use gexp for builder.
    
    * gnu/packages/bioinformatics.scm (seqan-1)[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 1a524e0..cc1e9f6 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -7128,18 +7128,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"))
-               (bzip (assoc-ref %build-inputs "bzip2"))
-               (out  (assoc-ref %outputs "out"))
-               (doc  (assoc-ref %outputs "doc")))
-           (setenv "PATH" (string-append tar "/bin:" bzip "/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"))
+                  (bzip #$(this-package-native-input "bzip2"))
+                  (out #$output)
+                  (doc #$output:doc))
+              (setenv "PATH" (string-append tar "/bin:" bzip "/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)



reply via email to

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