mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
services: profile: Use a declarative profile.
* gnu/services.scm (packages->profile-entry): Use 'profile' instead of 'profile-derivation'.
This commit is contained in:
parent
cda751105e
commit
45bd91334f
1 changed files with 4 additions and 4 deletions
|
@ -691,10 +691,10 @@ (define setuid-program-service-type
|
|||
|
||||
(define (packages->profile-entry packages)
|
||||
"Return a system entry for the profile containing PACKAGES."
|
||||
(mlet %store-monad ((profile (profile-derivation
|
||||
(packages->manifest
|
||||
(delete-duplicates packages eq?)))))
|
||||
(return `(("profile" ,profile)))))
|
||||
(with-monad %store-monad
|
||||
(return `(("profile" ,(profile
|
||||
(content (packages->manifest
|
||||
(delete-duplicates packages eq?)))))))))
|
||||
|
||||
(define profile-service-type
|
||||
;; The service that populates the system's profile---i.e.,
|
||||
|
|
Loading…
Reference in a new issue