me
/
guix
Archived
1
0
Fork 0

packages: Clarify NAME-VERSION deprecation message.

* gnu/packages.scm (%find-package): Clarify message; remove trailing
period.
master
Ludovic Courtès 2016-03-08 11:36:16 +01:00
parent 16210486e6
commit 7befee308b
1 changed files with 3 additions and 2 deletions

View File

@ -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