Pārlūkot izejas kodu

channels: Use a declarative profile.

* guix/channels.scm (package-cache-file): Use 'profile' instead of
'profile-derivation'.
gn-latest-20200428
Ludovic Courtès pirms 4 mēnešiem
vecāks
revīzija
ccbc427f9a
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 90B11993D9AEBB5
1 mainītis faili ar 1 papildinājumiem un 3 dzēšanām
  1. +1
    -3
      guix/channels.scm

+ 1
- 3
guix/channels.scm Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt