Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prerequisite installation with Nix fails on my PC #107

Closed
wizzardx opened this issue Aug 15, 2018 · 1 comment
Closed

Prerequisite installation with Nix fails on my PC #107

wizzardx opened this issue Aug 15, 2018 · 1 comment

Comments

@wizzardx
Copy link

With a fresh Nix package manager install on Debian Testing, after a fresh git clone of this project.

Running this command:

nix-shell nimbus.nix

Results in this output:

fatal: not a tree object
error: program 'git' failed with exit code 128
(use '--show-trace' to show detailed location information)

Next, using this command:

nix-shell --show-trace nimbus.nix

Results in this output:

fatal: not a tree object
error: while evaluating the attribute 'LD_LIBRARY_PATH' of the derivation 'nimbus-0.0.1' at /nix/store/2psxsqmdarbg39783kzq48j0db1f98vl-nixpkgs-18.09pre149172.0ee6d7e3ab7/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:175:11:
while evaluating 'makeSearchPathOutput' at /nix/store/2psxsqmdarbg39783kzq48j0db1f98vl-nixpkgs-18.09pre149172.0ee6d7e3ab7/nixpkgs/lib/strings.nix:94:42, called from /tmp/z/nimbus/nimbus.nix:23:24:
while evaluating 'makeSearchPath' at /nix/store/2psxsqmdarbg39783kzq48j0db1f98vl-nixpkgs-18.09pre149172.0ee6d7e3ab7/nixpkgs/lib/strings.nix:84:28, called from /nix/store/2psxsqmdarbg39783kzq48j0db1f98vl-nixpkgs-18.09pre149172.0ee6d7e3ab7/nixpkgs/lib/strings.nix:94:48:
while evaluating anonymous function at /nix/store/2psxsqmdarbg39783kzq48j0db1f98vl-nixpkgs-18.09pre149172.0ee6d7e3ab7/nixpkgs/lib/strings.nix:85:32, called from undefined position:
while evaluating the attribute 'src' of the derivation 'status-nim' at /nix/store/2psxsqmdarbg39783kzq48j0db1f98vl-nixpkgs-18.09pre149172.0ee6d7e3ab7/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:175:11:
program 'git' failed with exit code 128

nix-shell version is 2.0.4

@zah
Copy link
Contributor

zah commented Feb 6, 2019

Sorry for the late reply. The failure is related to network I/O issues when cloning large git repositories. We've improved the situation by relying on Github tarballs instead which should be much more reliable.

I've tested our latest code with nix 2.2.1 on macOS and Ubuntu 18.04.

@zah zah closed this as completed Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants