summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-12-04 18:39:35 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-12-04 19:54:27 +0100
commitf33e490334de6347c4069d532474cf76229a242b (patch)
tree7f65a0d5b304b28524adfa884261ca8ab83a6ad0
parent8a446f5e41083c8a7c999fbbd21cc01c2ce1503f (diff)
downloadguix-f33e490334de6347c4069d532474cf76229a242b.tar.gz
gnu: preseq: Remove references to %outputs and %build-inputs.
* gnu/packages/bioinformatics.scm (preseq)[arguments]: Replace references to
%outputs and %build-inputs by using a gexp.
-rw-r--r--gnu/packages/bioinformatics.scm19
1 files changed, 9 insertions, 10 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index adc5ca572d..cb2fb05633 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -6883,16 +6883,15 @@ structures, classes for genomic regions, mapped sequencing reads, etc.")
        (modify-phases %standard-phases
          (delete 'configure))
        #:make-flags
-       (list (string-append "PREFIX="
-                            (assoc-ref %outputs "out"))
-             (string-append "LIBBAM="
-                            (assoc-ref %build-inputs "samtools")
-                            "/lib/libbam.a")
-             (string-append "SMITHLAB_CPP="
-                            (assoc-ref %build-inputs "smithlab-cpp")
-                            "/lib")
-             "PROGS=preseq"
-             "INCLUDEDIRS=$(SMITHLAB_CPP)/../include/smithlab-cpp $(SAMTOOLS_DIR)")))
+       ,#~(list (string-append "PREFIX=" #$output)
+                (string-append "LIBBAM="
+                               #$(this-package-input "samtools")
+                               "/lib/libbam.a")
+                (string-append "SMITHLAB_CPP="
+                               #$(this-package-input "smithlab-cpp")
+                               "/lib")
+                "PROGS=preseq"
+                "INCLUDEDIRS=$(SMITHLAB_CPP)/../include/smithlab-cpp $(SAMTOOLS_DIR)")))
     (inputs
      `(("gsl" ,gsl)
        ("samtools" ,samtools-0.1)