nckx pushed a commit to branch master
in repository guix.
commit af38b2dd5e050f14e8f9cb308662c826efeabe3d
Author: Tobias Geerinckx-Rice <[email protected]>
Date: Fri Jan 26 19:59:07 2018 +0100
gnu: cargo-version: Fix URI in comment.
The table of corresponding cargo and rustc versions was removed from
cargo's HEAD for being outdated, but still illustrates the pattern.
* gnu/packages/rust.scm (cargo-version): Link to an older README.md
revision.
---
gnu/packages/rust.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index b4d98ee..1ba857d 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2017 Ben Woodcroft <[email protected]>
;;; Copyright © 2017 Nikolai Merinov <[email protected]>
;;; Copyright © 2017 Efraim Flashner <[email protected]>
+;;; Copyright © 2018 Tobias Geerinckx-Rice <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -89,7 +90,8 @@
(define* (cargo-version rustc-version #:optional (patch 0))
;; Computes the cargo version that matches the rustc version.
- ;; https://github.com/rust-lang/cargo#Releases
+ ;; This has so far continued to follow a predictable pattern:
+ ;; https://github.com/rust-lang/cargo/blob/50a46f47/README.md#releases
(increment-rust-version rustc-version 0 patch))
(define* (rustc-version bootstrap-version #:optional (patch 0))