在chainweb上进行nix构建失败

时间:2019-03-26 21:40:48

标签: pact

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

nix构建 git@github.com:权限被拒绝(公钥)。 致命的:无法从远程存储库读取。

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

错误:在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/stdenv/generic/make-derivation.nix:177:11上评估派生链网络的属性“ 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:19844调用: 在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/lib/strings.nix:64:33评估'concatMapStringsSep'时,从/ nix / store / wsyx22606j37gin9nw4rn8zhn1gfdp6p-source / project / default:调用。 在/nix/store/wsyx22606j37gin9nw4rn8zhn1gfdp6p-source/project/default.nix:200:33处评估匿名函数时,从未定义位置调用: 在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/stdenv/generic/make-derivation.nix:177:11处评估派生'chainweb-0.1.0.0'的属性'propagatedBuildInputs'时: 在/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/make-package-set.nix:179:32上评估“ callCabal2nix”时,从/ Users / benjessel / Chainweb / chainweb-node / default调用。 nix:183:22: 在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/development/haskell-modules/lib.nix:37:24处评估'overrideCabal'时,从/ nix / store / pxh6ar7qdnx3w5vhpqpf0d9jr1bment调用make-package-set.nix:189:8: 在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/development/haskell-modules/make-package-set.nix:155:33评估'callPackageKeepDeriver'的同时,从/ nix / store / pxh6ar7qdnx3w5vhpqrp1调用haskell-modules / make-package-set.nix:189:23: 在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/development/haskell-modules/lib.nix:37:24处评估'overrideCabal'时,从/ nix / store / pxh6ar7qdnx3w5vhpqpf0d9jr1bment调用make-package-set.nix:156:5: 在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/development/haskell-modules/make-package-set.nix:114:22评估'callPackage'的同时,从/ nix / store / pxh6ar7qdnx3w5vhpqpf0drs1调用haskell-modules / make-package-set.nix:156:20: 在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/development/haskell-modules/make-package-set.nix:74:37评估'callPackageWithScope'的同时,从/ nix / store / pxh6ar7qdnx3w5vhpqpf1d9调用haskell-modules / make-package-set.nix:114:28: 在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/lib/customisation.nix:67:24处评估'makeOverridable'时,从/ nix / store / pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source / makes / package-package调用。 nix:97:8: 在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/development/haskell-modules/make-package-set.nix:87:18处评估'drvScope'时,从/ nix / store / pxh6ar7qdnx3w5vhpqpf0d9rr中调用。 nix:69:12: 在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/pkgs/stdenv/generic/make-derivation.nix:177:11处评估派生'cabal2nix-merkle-log'的属性'installPhase'时: 在/nix/store/pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source/lib/sources.nix:99:20评估'canCleanSource'的同时,从/ nix / store / pxh6ar7qdnx3w5vhpqpf0d9jr1bxrsy1-source / makes / package-package调用。 nix:185:18: 程序“ git”失败,退出代码为128

1 个答案:

答案 0 :(得分:1)

所有问题都在链网的下一版本中解决。现在在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文件夹中?