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.
This commit is contained in:
Tobias Geerinckx-Rice 2018-01-26 19:59:07 +01:00
parent 83c9288230
commit af38b2dd5e
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,7 @@
;;; Copyright © 2017 Ben Woodcroft <donttrustben@gmail.com>
;;; Copyright © 2017 Nikolai Merinov <nikolai.merinov@member.fsf.org>
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; 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))