guix build: Use 'warning' for warnings.
* guix/scripts/build.scm (options->derivations): Use 'warning' instead of 'format'.
This commit is contained in:
parent
258257acb0
commit
0f2d9c3290
|
@ -836,10 +836,8 @@ build."
|
|||
(#t
|
||||
(match (package-source p)
|
||||
(#f
|
||||
(format (current-error-port)
|
||||
(G_ "~a: warning: \
|
||||
package '~a' has no source~%")
|
||||
(location->string (package-location p))
|
||||
(warning (package-location p)
|
||||
(G_ "package '~a' has no source~%")
|
||||
(package-name p))
|
||||
'())
|
||||
(s
|
||||
|
|
Loading…
Reference in New Issue