From af38b2dd5e050f14e8f9cb308662c826efeabe3d Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 26 Jan 2018 19:59:07 +0100 Subject: [PATCH] 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 b4d98ee342..1ba857d36f 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2017 Ben Woodcroft ;;; Copyright © 2017 Nikolai Merinov ;;; Copyright © 2017 Efraim Flashner +;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; ;;; 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))