~ruther/guix-local

7a01cc001df424a2e6190dad9a043b06188bb512 — Ricardo Wurmus 2 years ago 2e656d6
import/cran: Use downstream name when using specifications.

Reported by Alexander Blume at
<https://github.com/BIMSBbioinfo/guix.install/issues/4>.

* guix/import/cran.scm (format-inputs): Use UPSTREAM-INPUT-DOWNSTREAM-NAME
when %INPUT-STYLE is set to 'SPECIFICATION.

Change-Id: I2f0963af197896aafd613b253d8712e41a716e52
1 files changed, 1 insertions(+), 1 deletions(-)

M guix/import/cran.scm
M guix/import/cran.scm => guix/import/cran.scm +1 -1
@@ 90,7 90,7 @@
  (map (lambda (input)
         (case (%input-style)
           ((specification)
            `(specification->package ,(upstream-input-name input)))
            `(specification->package ,(upstream-input-downstream-name input)))
           (else
            ((compose string->symbol
                       upstream-input-downstream-name)