mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -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)
|
p)
|
||||||
((string=? (upstream-source-version source)
|
((string=? (upstream-source-version source)
|
||||||
(package-version p))
|
(package-version p))
|
||||||
|
(unless version
|
||||||
|
(info (G_ "~a is already the latest version of '~a'~%")
|
||||||
|
(package-version p) (package-name p)))
|
||||||
p)
|
p)
|
||||||
(else
|
(else
|
||||||
(when (version>? (package-version p)
|
(when (version>? (package-version p)
|
||||||
|
|
Loading…
Reference in a new issue