Ver código fonte

channels: Use a declarative profile.

* guix/channels.scm (package-cache-file): Use 'profile' instead of
'profile-derivation'.
gn-latest-20200428
Ludovic Courtès 5 meses atrás
pai
commit
ccbc427f9a
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 90B11993D9AEBB5
1 arquivos alterados com 1 adições e 3 exclusões
  1. +1
    -3
      guix/channels.scm

+ 1
- 3
guix/channels.scm Ver arquivo

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


Carregando…
Cancelar
Salvar