channels: Use a declarative profile.
* guix/channels.scm (package-cache-file): Use 'profile' instead of 'profile-derivation'.master
parent
0e5c2d5e14
commit
ccbc427f9a
|
@ -568,9 +568,7 @@ channel instances."
|
|||
(define (package-cache-file manifest)
|
||||
"Build a package cache file for the instance in MANIFEST. This is meant to
|
||||
be used as a profile hook."
|
||||
(mlet %store-monad ((profile (profile-derivation manifest
|
||||
#:hooks '())))
|
||||
|
||||
(let ((profile (profile (content manifest) (hooks '()))))
|
||||
(define build
|
||||
#~(begin
|
||||
(use-modules (gnu packages))
|
||||
|
|
Reference in New Issue