[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: profiles: manifest-lookup-package: Correctly handle package entri
From: |
??? |
Subject: |
02/02: profiles: manifest-lookup-package: Correctly handle package entries. |
Date: |
Sat, 11 Jun 2016 03:05:52 +0000 (UTC) |
iyzsong pushed a commit to branch master
in repository guix.
commit 963521a3804893ec22a5cd7614791aa2925daa7b
Author: 宋文武 <address@hidden>
Date: Sat Jun 11 10:29:45 2016 +0800
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 3cb7b7a..37ea302 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)