错误文本:
neo@nixos ~/F/nixpkgs> nix-build -A haskellPackages.lambdabot-trusted
these derivations will be built:
/nix/store/wf447rqgs02yxd4p1lazfzxijmyjc46h-lambdabot-139af15.drv
/nix/store/437rz7m2hxl2p7lyla3zml8yjhs30w3k-lambdabot-trusted-5.2.drv
building '/nix/store/wf447rqgs02yxd4p1lazfzxijmyjc46h-lambdabot-139af15.drv'...
exporting git@github.com:lambdabot/lambdabot.git (rev 139af15281e815c79596ec1336b72c9ab416ba92) into /nix/store/qjb9kx6nviq2pn8v8yvyj9gypj0nhn89-lambdabot-139af15
Initialized empty Git repository in /nix/store/qjb9kx6nviq2pn8v8yvyj9gypj0nhn89-lambdabot-139af15/.git/
Could not create directory '/home/neo/.ssh'.
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Could not create directory '/home/neo/.ssh'.
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Unable to checkout 139af15281e815c79596ec1336b72c9ab416ba92 from git@github.com:lambdabot/lambdabot.git.
builder for '/nix/store/wf447rqgs02yxd4p1lazfzxijmyjc46h-lambdabot-139af15.drv' failed with exit code 1
cannot build derivation '/nix/store/437rz7m2hxl2p7lyla3zml8yjhs30w3k-lambdabot-trusted-5.2.drv': 1 dependencies couldn't be built
error: build of '/nix/store/437rz7m2hxl2p7lyla3zml8yjhs30w3k-lambdabot-trusted-5.2.drv' failed目录/home/neo/.ssh存在(所以这个错误对我来说没有任何意义:Could not create directory '/home/neo/.ssh'.),它包含了我用来推送到GitHub的键。
上面它试图连接的GitHub存储库不是我拥有的,但它是公共的,只用于读取它。
有什么建议如何解决这个问题吗?
发布于 2020-04-16 16:41:43
最终起作用的是从SSH切换到HTTP URL。
https://stackoverflow.com/questions/61245686
复制相似问题