瀏覽代碼

channels: Use a declarative profile.

* guix/channels.scm (package-cache-file): Use 'profile' instead of
'profile-derivation'.
gn-latest-20200428
Ludovic Courtès 5 月之前
父節點
當前提交
ccbc427f9a
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 90B11993D9AEBB5
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. +1
    -3
      guix/channels.scm

+ 1
- 3
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…
取消
儲存