From ccbc427f9ac8f63478f1692686b042a22c4df2c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 26 Apr 2020 22:12:32 +0200 Subject: channels: Use a declarative profile. * guix/channels.scm (package-cache-file): Use 'profile' instead of 'profile-derivation'. --- guix/channels.scm | 4 +--- 1 file changed, 1 insertion(+), 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)) -- cgit v1.2.3