Browse Source

services: Use 'packages->manifest' in 'packages->profile-entry'.

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'.
wip-check
宋文武 7 years ago
parent
commit
60a0886d72
  1. 4
      gnu/services.scm

4
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

Loading…
Cancel
Save