guix-build: Use `location->string'.
* guix-build.in (derivations-from-package-expressions): Use `location->string'.master
parent
d9d0536340
commit
ef1ee6b221
|
@ -57,9 +57,8 @@ When SOURCE? is true, return the derivations of the package sources."
|
||||||
(loc (package-location p)))
|
(loc (package-location p)))
|
||||||
(if source
|
(if source
|
||||||
(package-source-derivation %store source)
|
(package-source-derivation %store source)
|
||||||
(leave (_ "~a:~a:~a: error: package `~a' has no source~%")
|
(leave (_ "~a: error: package `~a' has no source~%")
|
||||||
(location-file loc) (location-line loc)
|
(location->string loc) (package-name p))))
|
||||||
(location-column loc) (package-name p))))
|
|
||||||
(package-derivation %store p system))
|
(package-derivation %store p system))
|
||||||
(leave (_ "expression `~s' does not evaluate to a package~%")
|
(leave (_ "expression `~s' does not evaluate to a package~%")
|
||||||
exp))))
|
exp))))
|
||||||
|
|
Reference in New Issue