mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
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
1 changed files with 3 additions and 5 deletions
|
@ -836,11 +836,9 @@ (define (compute-derivation obj system)
|
|||
(#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 a new issue