diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-09-16 11:23:57 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-09-16 12:26:25 +0200 |
commit | 41ca406fa54e69f61c55b11ffe5cf465192a907c (patch) | |
tree | 069d71a33f315a053ba5b908cb1ad18c2814b3c6 | |
parent | 76c0b608219cc1f58decbd85f4a8194337f0558d (diff) | |
download | patches-41ca406fa54e69f61c55b11ffe5cf465192a907c.tar patches-41ca406fa54e69f61c55b11ffe5cf465192a907c.tar.gz |
build-system/r: Use %bioconductor-version.
* guix/build-system/r.scm (bioconductor-uri): Use %bioconductor-version
instead of hard-coding the version string.
-rw-r--r-- | guix/build-system/r.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/guix/build-system/r.scm b/guix/build-system/r.scm index dd2a9fe8de..936ad974d0 100644 --- a/guix/build-system/r.scm +++ b/guix/build-system/r.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2015, 2017, 2018 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2015, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net> ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,6 +24,7 @@ #:use-module (guix search-paths) #:use-module (guix build-system) #:use-module (guix build-system gnu) + #:use-module ((guix import cran) #:select (%bioconductor-version)) #:use-module (ice-9 match) #:use-module (srfi srfi-26) #:export (%r-build-system-modules @@ -58,8 +59,8 @@ release corresponding to NAME and VERSION." type-url-part "/src/contrib/" name "_" version ".tar.gz") - ;; TODO: use %bioconductor-version from (guix import cran) - (string-append "https://bioconductor.org/packages/3.9" + (string-append "https://bioconductor.org/packages/" + %bioconductor-version type-url-part "/src/contrib/Archive/" name "_" version ".tar.gz")))) |