Sfoglia il codice sorgente

channels: Use a declarative profile.

* guix/channels.scm (package-cache-file): Use 'profile' instead of
'profile-derivation'.
gn-latest-20200428
Ludovic Courtès 5 mesi fa
parent
commit
ccbc427f9a
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 90B11993D9AEBB5
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. +1
    -3
      guix/channels.scm

+ 1
- 3
guix/channels.scm Vedi File

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


Caricamento…
Annulla
Salva