guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

68/87: import/cran: Fix Bioconductor updater.


From: guix-commits
Subject: 68/87: import/cran: Fix Bioconductor updater.
Date: Mon, 9 Jan 2023 18:27:38 -0500 (EST)

mbakke pushed a commit to branch staging
in repository guix.

commit 6e75790fc013a9df23f3c48d4d9da78200d5b9eb
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Jan 9 22:32:58 2023 +0100

    import/cran: Fix Bioconductor updater.
    
    * guix/import/cran.scm (latest-bioconductor-release): Use LATEST-VERSION
    instead of VERSION, which is always #F.
---
 guix/import/cran.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/guix/import/cran.scm b/guix/import/cran.scm
index f6d24820a8..c4b36da12b 100644
--- a/guix/import/cran.scm
+++ b/guix/import/cran.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Ricardo Wurmus 
<rekado@elephly.net>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Ricardo 
Wurmus <rekado@elephly.net>
 ;;; Copyright © 2015, 2016, 2017, 2019, 2020, 2021 Ludovic Courtès 
<ludo@gnu.org>
 ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
 ;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
@@ -732,12 +732,12 @@ s-expression corresponding to that package, or #f on 
failure."
   (define latest-version
     (latest-bioconductor-package-version upstream-name))
 
-  (and version
+  (and latest-version
        ;; Bioconductor does not provide signatures.
        (upstream-source
         (package (package-name pkg))
         (version latest-version)
-        (urls (bioconductor-uri upstream-name version))
+        (urls (bioconductor-uri upstream-name latest-version))
         (input-changes
          (changed-inputs
           pkg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]