diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-01-07 15:34:06 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-01-16 13:41:27 +0100 |
commit | 20c923c40d3eb0057498c7c6b7f64f5c634944fb (patch) | |
tree | 262e3679307007bf275ed2f9788414bdce33ff8f /guix | |
parent | 137b91f03bbb7f1df71cf10c4f79ae57fbcea400 (diff) |
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.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/transformations.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/transformations.scm b/guix/transformations.scm index 8853f390ce..8ff472ad21 100644 --- a/guix/transformations.scm +++ b/guix/transformations.scm @@ -772,6 +772,9 @@ is #f, the latest known upstream 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) |