diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-06-03 23:00:42 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-06-03 23:18:47 +0200 |
commit | 69962ab7a8e07af77a2eb466be39615d139d5cf0 (patch) | |
tree | 0170970c0fd544268dada62649ea770a4408e393 /gnu/packages | |
parent | 1b5ee3bdaacf665ad1e7c6142122389fd7033ea2 (diff) | |
download | guix-69962ab7a8e07af77a2eb466be39615d139d5cf0.tar.gz guix-69962ab7a8e07af77a2eb466be39615d139d5cf0.zip |
deprecation: Use the 'warning' procedure for diagnostics.
Until now, (guix deprecation) had its own warning mechanism, which was
inconsistent (it did not use colors, etc.)
* guix/deprecation.scm (deprecation-warning-port): Remove
(source-properties->location-string): Remove.
(warn-about-deprecation): Use 'warning' instead of 'format'.
(define-deprecated, define-deprecated/alias): Adjust docstring.
* guix/channels.scm (build-from-source): Refer to 'guix-warning-port'
instead of 'deprecation-warning-port'.
Diffstat (limited to 'gnu/packages')
0 files changed, 0 insertions, 0 deletions