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,11 +836,9 @@ build."
|
|||
(#t
|
||||
(match (package-source p)
|
||||
(#f
|
||||
(format (current-error-port)
|
||||
(G_ "~a: warning: \
|
||||
package '~a' has no source~%")
|
||||
(location->string (package-location p))
|
||||
(package-name p))
|
||||
(warning (package-location p)
|
||||
(G_ "package '~a' has no source~%")
|
||||
(package-name p))
|
||||
'())
|
||||
(s
|
||||
(list (package-source-derivation store s)))))
|
||||
|
|
Loading…
Reference in New Issue