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