unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] services: Use 'packages->manifest' in 'packages->profile-entry'.
@ 2016-03-06 13:34 宋文武
  2016-03-06 23:11 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: 宋文武 @ 2016-03-06 13:34 UTC (permalink / raw)
  To: guix-devel; +Cc: 宋文武

This allows using (PACKAGE OUTPUT) in the packages field.
Reported by Jan Nieuwenhuizen <janneke@gnu.org>.

* gnu/services.scm (packages->profile-entry): Use 'packages->manifest'.
---
 gnu/services.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/services.scm b/gnu/services.scm
index ffba418..cff6ed3 100644
--- a/gnu/services.scm
+++ b/gnu/services.scm
@@ -458,8 +458,8 @@ FILES must be a list of name/file-like object pairs."
 (define (packages->profile-entry packages)
   "Return a system entry for the profile containing PACKAGES."
   (mlet %store-monad ((profile (profile-derivation
-                                (manifest (map package->manifest-entry
-                                               (delete-duplicates packages eq?))))))
+                                (packages->manifest
+                                 (delete-duplicates packages eq?)))))
     (return `(("profile" ,profile)))))
 
 (define profile-service-type
-- 
2.6.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] services: Use 'packages->manifest' in 'packages->profile-entry'.
  2016-03-06 13:34 [PATCH] services: Use 'packages->manifest' in 'packages->profile-entry' 宋文武
@ 2016-03-06 23:11 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2016-03-06 23:11 UTC (permalink / raw)
  To: 宋文武; +Cc: guix-devel

宋文武 <iyzsong@gmail.com> skribis:

> This allows using (PACKAGE OUTPUT) in the packages field.
> Reported by Jan Nieuwenhuizen <janneke@gnu.org>.
>
> * gnu/services.scm (packages->profile-entry): Use 'packages->manifest'.

Sure, thanks!

Ludo'.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-06 23:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-06 13:34 [PATCH] services: Use 'packages->manifest' in 'packages->profile-entry' 宋文武
2016-03-06 23:11 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).