chainweb编译中的nix-build失败

问题描述 投票:0回答:1

尝试使用nix-build安装chainweb,我已经从repo下载了

nix-build [email protected]:权限被拒绝(publickey)。致命:无法从远程存储库读取。

请确保您具有正确的访问权限并且存储库存在。错误:程序'git'失败,退出代码128(使用'--show-trace'显示详细的位置信息)

错误:在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/stdenv/generic/make-derivation.nix:177:11评估派生'chainweb'的属性'buildCommand'时:在/ nix / store评估匿名函数时/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/lib/attrsets.nix:225:10,从未定义的位置调用:在/nix/store/wsyx22606j37gin9nw4rn8zhn1gfdp6p-source/project/default.nix:198:36评估匿名函数时,从/ nix / store调用/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/lib/attrsets.nix:225:16:在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/lib/strings.nix:147:26评估'optionalString'时,从/ nix / store / wsyx22606j37gin9nw4rn8zhn1gfdp6p-source调用/project/default.nix:198:44:在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/lib/strings.nix:64:33评估'concatMapStringsSep'时,从/ nix / store / wsyx22606j37gin9nw4rn8zhn1gfdp6p-source / project / default调用.nix:200:7:在/ nix / store / wsyx评估匿名函数时22606j37gin9nw4rn8zhn1gfdp6p-source / project / default.nix:200:33,从未定义的位置调用:在/ nix / store / pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source / pkgs / stdenv /中评估派生'chainweb-0.1.0.0'的属性'propagatedBuildInputs' generic / make-derivation.nix:177:11:在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/lib/attrsets.nix:452:23评估'getOutput'时,从未定义的位置调用:在/ nix /评估匿名函数时store / pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source / pkgs / stdenv / generic / make-derivation.nix:141:17,从未定义的位置调用:在/ nix / store / pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source / pkgs / development / haskell-modules /评估'callCabal2nix'时make-package-set.nix:179:32,来自/Users/benjessel/Chainweb/chainweb-node/default.nix:183:22:在/ nix / store / pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source / pkgs /评估'overrideCabal'时development / haskell-modules / lib.nix:37:24,从/ nix / store / pxh6ar7qdnx3w5vhpqpf0调用d9jr1bxrsy1-source / pkgs / development / haskell-modules / make-package-set.nix:189:8:在/ nix / store / pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source / pkgs / development / haskell-modules / make-package中评估'callPackageKeepDeriver'时-set.nix:155:33,从/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/development/haskell-modules/make-package-set.nix:189:23调用:在/ nix / store评估'overrideCabal'时/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/development/haskell-modules/lib.nix:37:24,来自/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/development/haskell-modules/make-package-set.nix:156: 5:在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/development/haskell-modules/make-package-set.nix:114:22评估'callPackage'时,从/ nix / store / pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source / pkgs /调用development / haskell-modules / make-package-set.nix:156:20:在/ nix / store / pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source / pkgs / develop中评估'callPackageWithScope'时ment / haskell-modules / make-package-set.nix:74:37,来自/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/development/haskell-modules/make-package-set.nix:114:28:while在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/lib/customisation.nix:67:24评估'makeOverridable',从/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/development/haskell-modules/make-package-set.nix调用:97:8:在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/development/haskell-modules/make-package-set.nix:87:18评估'drvScope'时,从/ nix / store / pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source调用/lib/customisation.nix:69:12:在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/stdenv/generic/make-derivation.nix中评估派生'cabal2nix-merkle-log'的属性'installPhase': 177:11:在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/lib/sources.nix:99:20评估'canCleanSource'时,从/ nix / store / pxh6ar7qdnx3w5vhpqpf0d9jr1b调用xrsy1-source / pkgs / development / haskell-modules / make-package-set.nix:185:18:程序'git'失败,出口代码128

pact
1个回答
1
投票

所有在chainweb的下一个版本中解决了。现在目前在chainweb-node --node-id = 0 --config-file =。/ scripts / test-bootstrap-node.config上遇到挑战,因为在nix-build之后找不到chainweb-node。

但是,我认为二进制确实存在,因为它位于nex商店/nix/store/9pkbmml73853izic9anzyzg4qmsyb418-chainweb-0.1.0.0/bin/chainweb-node

所以要么链接到nix / store的路径问题不太可能,因为我认为这是一个缓存,或者需要在nix-build配置文件中复制并将二进制文件移动到chainweb-node文件夹?

© www.soinside.com 2019 - 2024. All rights reserved.