gnu: star: Use "modify-phases" syntax.
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Tue, 19 Jan 2016 15:04:01 +0000 (16:04 +0100)
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Sat, 23 Jan 2016 07:40:14 +0000 (08:40 +0100)
* gnu/packages/bioinformatics.scm (star)[arguments]: Use "modify-phases"
  syntax.

gnu/packages/bioinformatics.scm

index e579afe..485faef 100644 (file)
@@ -3037,15 +3037,15 @@ of these reads to align data quickly through a hash-based indexing scheme.")
      '(#:tests? #f ;no check target
        #:make-flags '("STAR")
        #:phases
-       (alist-cons-after
-        'unpack 'enter-source-dir (lambda _ (chdir "source"))
-        (alist-replace
-         'install
-         (lambda* (#:key outputs #:allow-other-keys)
-           (let ((bin (string-append (assoc-ref outputs "out") "/bin/")))
-             (install-file "STAR" bin)))
-         (alist-delete
-          'configure %standard-phases)))))
+       (modify-phases %standard-phases
+         (add-after 'unpack 'enter-source-dir
+           (lambda _ (chdir "source") #t))
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((bin (string-append (assoc-ref outputs "out") "/bin/")))
+               (install-file "STAR" bin))
+             #t))
+         (delete 'configure))))
     (native-inputs
      `(("vim" ,vim))) ; for xxd
     (inputs