guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/06: channels: Use a declarative profile.


From: guix-commits
Subject: 06/06: channels: Use a declarative profile.
Date: Sun, 26 Apr 2020 16:50:00 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit ccbc427f9ac8f63478f1692686b042a22c4df2c3
Author: Ludovic Courtès <address@hidden>
AuthorDate: Sun Apr 26 22:12:32 2020 +0200

    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 785b977..041fae2 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]