首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >guix拉手抛出“匹配错误”

guix拉手抛出“匹配错误”
EN

Unix & Linux用户
提问于 2021-12-16 15:46:52
回答 1查看 123关注 0票数 0

我已经安装了软件包瓜瓦 (在debian上)。

并尝试在guix pull中编写文档时运行它:

代码语言:javascript
复制
$ sudo -i guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git   b329c21
Backtrace:
           6 (apply-smob/1 #)
In ice-9/boot-9.scm:
    705:2  5 (call-with-prompt _ _ #)
In ice-9/eval.scm:
    619:8  4 (_ #(#(#)))
In guix/ui.scm:
  2117:12  3 (run-guix-command _ . _)
In ice-9/boot-9.scm:
    829:9  2 (catch _ _ # …)
    829:9  1 (catch _ _ # …)
    829:9  0 (catch _ _ # …)

ice-9/boot-9.scm:829:9: In procedure catch:
Throw to key `match-error' with args `("match" "no matching pattern" (
#:re-export-and-replace (delete) 
#:replace ((define-public* . define-public)) 
#:export (content-hash content-hash? content-hash-algorithm content-hash-value 
origin origin? this-origin origin-uri origin-method origin-hash origin-sha256 
origin-file-name origin-actual-file-name origin-patches origin-patch-flags 
origin-patch-inputs origin-patch-guile origin-snippet origin-modules 
base32 base64 package package? this-package package-name package-upstream-name 
package-version package-full-name package-source package-build-system 
package-arguments package-inputs package-native-inputs package-propagated-inputs 
package-outputs package-native-search-paths package-search-paths package-replacement 
package-synopsis package-description package-license package-home-page 
package-supported-systems package-properties package-location 
package-definition-location hidden-package hidden-package? package-superseded 
deprecated-package package-field-location this-package-input this-package-native-input 
lookup-package-input lookup-package-native-input lookup-package-propagated-input 
lookup-package-direct-input prepend replace modify-inputs package-direct-sources 
package-transitive-sources package-direct-inputs package-transitive-inputs 
package-transitive-target-inputs package-transitive-native-inputs 
package-transitive-propagated-inputs package-transitive-native-search-paths 
package-transitive-supported-systems package-mapping package-input-rewriting 
package-input-rewriting/spec package-source-derivation package-derivation 
package-cross-derivation package-output package-grafts package-patched-vulnerabilities 
package-with-patches package-with-extra-patches package-with-c-toolchain 
package/inherit transitive-input-references %supported-systems %hurd-systems 
%cuirass-supported-systems supported-package? &package-error package-error? 
package-error-package &package-input-error package-input-error? 
package-error-invalid-input &package-cross-build-system-error 
package-cross-build-system-error? package->bag bag->derivation bag-direct-inputs 
bag-transitive-inputs bag-transitive-host-inputs bag-transitive-build-inputs 
bag-transitive-target-inputs package-development-inputs package-closure 
default-guile default-guile-derivation set-guile-for-build package-file 
package->derivation package->cross-derivation origin->derivation)))'.

(为了提高可读性,我增加了新行)。

如何修复此错误?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2021-12-19 09:54:13

作为流浪汉卡斯卡迪亚建议,应该采取中间步骤。

  1. 将guix更新为标记为v1.3.0 (散列a0178d3...)的提交:$ guix =a0178d3.
  2. 然后使用脚本的这个版本来拉出主分支:$~/..config/guix/current/bin/guix拉出
  3. 并安装任何包(例如guile):$~/..config/guix/current/bin/ guile来初始化您的主配置文件(~/.guix-profile)。现在你有了:
    1. ~/.config/guix/current/bin/guix - guix脚本的最新版本。
    2. ~/.guix-profile -你的主要资料。

  4. 要将所有这些都放在一起并开始使用guix,您需要重新登录。这将来源于/etc/profile.d/guix.sh,它为$PATH添加了两个and:${HOME}/.guix-profile/bin${HOME}/.config/guix/current/bin
票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/682742

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档