From 60a0886d722c86a882fe1d1e1914547d2a160ffb Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Sun, 6 Mar 2016 21:18:19 +0800 Subject: services: Use 'packages->manifest' in 'packages->profile-entry'. This allows using (PACKAGE OUTPUT) in the packages field. Reported by Jan Nieuwenhuizen . * gnu/services.scm (packages->profile-entry): Use 'packages->manifest'. --- gnu/services.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/services.scm b/gnu/services.scm index ffba418e88..cff6ed3a43 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 -- cgit 1.4.1