profiles: manifest-lookup-package: Correctly handle package entries.
* guix/profiles.scm (manifest-lookup-package): Consider the package entry in addition to its 'package-transitive-inputs'.
This commit is contained in:
parent
359f06aac8
commit
963521a380
|
@ -469,7 +469,8 @@ MANIFEST that named NAME, or #f if not found."
|
||||||
(with-monad %store-monad
|
(with-monad %store-monad
|
||||||
(match (manifest-entry-item entry)
|
(match (manifest-entry-item entry)
|
||||||
((? package? package)
|
((? package? package)
|
||||||
(match (package-transitive-inputs package)
|
(match (cons (list (package-name package) package)
|
||||||
|
(package-transitive-inputs package))
|
||||||
(((labels inputs . _) ...)
|
(((labels inputs . _) ...)
|
||||||
(return (find-among-inputs inputs)))))
|
(return (find-among-inputs inputs)))))
|
||||||
((? string? item)
|
((? string? item)
|
||||||
|
|
Loading…
Reference in New Issue