summary refs log tree commit diff
diff options
context:
space:
mode:
-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))