summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-02-20 10:32:24 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-02-20 10:32:24 +0100
commit7a01cc001df424a2e6190dad9a043b06188bb512 (patch)
tree5a10f2e7ccd4cdae461686733a07b3f62dfeaf7c /guix
parent2e656d674c1d8c1065d297afe006dcfac7e2ae56 (diff)
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
Diffstat (limited to 'guix')
-rw-r--r--guix/import/cran.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/import/cran.scm b/guix/import/cran.scm
index db9250faec..9b30dc30e0 100644
--- a/guix/import/cran.scm
+++ b/guix/import/cran.scm
@@ -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)