Browse Source

channels: Use a declarative profile.

* guix/channels.scm (package-cache-file): Use 'profile' instead of
'profile-derivation'.
wip-gnome3.36
Ludovic Courtès 2 years ago
parent
commit
ccbc427f9a
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 4
      guix/channels.scm

4
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))

Loading…
Cancel
Save