浏览代码

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 密钥 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))


正在加载...
取消
保存