summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-04-26 22:12:32 +0200
committerLudovic Courtès <ludo@gnu.org>2020-04-26 22:49:49 +0200
commitccbc427f9ac8f63478f1692686b042a22c4df2c3 (patch)
treec3cac8a7d97a5e529159792b131e82731c971e2f
parent0e5c2d5e145118ec47329d6b3a534344d2e89cd3 (diff)
downloadguix-ccbc427f9ac8f63478f1692686b042a22c4df2c3.tar.gz
channels: Use a declarative profile.
* guix/channels.scm (package-cache-file): Use 'profile' instead of
'profile-derivation'.
-rw-r--r--guix/channels.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/guix/channels.scm b/guix/channels.scm
index 785b97722e..041fae2a9c 100644
--- a/guix/channels.scm
+++ b/guix/channels.scm
@@ -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))