mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
transformations: Let users know when '--with-latest' has no effect.
* guix/transformations.scm (package-with-upstream-version): Print a message when VERSION is false and SOURCE has the same version as P.
This commit is contained in:
parent
137b91f03b
commit
20c923c40d
1 changed files with 3 additions and 0 deletions
|
@ -772,6 +772,9 @@ (define* (package-with-upstream-version p #:optional version)
|
|||
p)
|
||||
((string=? (upstream-source-version source)
|
||||
(package-version p))
|
||||
(unless version
|
||||
(info (G_ "~a is already the latest version of '~a'~%")
|
||||
(package-version p) (package-name p)))
|
||||
p)
|
||||
(else
|
||||
(when (version>? (package-version p)
|
||||
|
|
Loading…
Reference in a new issue