From 963521a3804893ec22a5cd7614791aa2925daa7b Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Sat, 11 Jun 2016 10:29:45 +0800 Subject: 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'. --- guix/profiles.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/guix/profiles.scm b/guix/profiles.scm index 3cb7b7a3ed..37ea302e82 100644 --- a/guix/profiles.scm +++ b/guix/profiles.scm @@ -469,7 +469,8 @@ MANIFEST that named NAME, or #f if not found." (with-monad %store-monad (match (manifest-entry-item entry) ((? package? package) - (match (package-transitive-inputs package) + (match (cons (list (package-name package) package) + (package-transitive-inputs package)) (((labels inputs . _) ...) (return (find-among-inputs inputs))))) ((? string? item) -- cgit 1.4.1