diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-03-08 11:36:16 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-03-08 11:36:16 +0100 |
commit | 7befee308b773b78a1039315203f71e57eca763d (patch) | |
tree | 55424f0dc8ea1922d2eadac549281d152064694d | |
parent | 16210486e6bb2e7b81e0208e42584b1eed826cd0 (diff) | |
download | guix-7befee308b773b78a1039315203f71e57eca763d.tar guix-7befee308b773b78a1039315203f71e57eca763d.tar.gz |
packages: Clarify NAME-VERSION deprecation message.
* gnu/packages.scm (%find-package): Clarify message; remove trailing
period.
-rw-r--r-- | gnu/packages.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages.scm b/gnu/packages.scm index 272a7628c1..307f21f057 100644 --- a/gnu/packages.scm +++ b/gnu/packages.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2012, 2013, 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2013 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2016 Alex Kost <alezost@gmail.com> @@ -291,7 +291,8 @@ return its return value." (package-full-name pkg) (location->string (package-location pkg)))) (when fallback? - (warning (_ "deprecated NAME-VERSION syntax.~%"))) + (warning (_ "deprecated NAME-VERSION syntax; \ +use NAME@VERSION instead~%"))) pkg) (_ (if version |