1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-03 15:55:57 +02:00

channels: Use a declarative profile.

* guix/channels.scm (package-cache-file): Use 'profile' instead of
'profile-derivation'.
This commit is contained in:
Ludovic Courtès
2020-04-26 22:12:32 +02:00
parent 0e5c2d5e14
commit ccbc427f9a
+1 -3
View File
@@ -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))