Issue description
pkgs.rust.buildRustPackage fails every time since I upgraded to nixpkgs 17.03pre101839.53a2baa.
This is perhaps also a chance to fix #22737.
In this example project:
❯ nix-build
these derivations will be built:
/nix/store/7z80g4d5cc4n621vl28wzd23265cgcsz-cursedlife.drv
building path(s) ‘/nix/store/j2ify6k0kfay56mhwpzasdl1w46bqk3r-cursedlife’
unpacking sources
unpacking source archive /nix/store/9r24d70n0kzxx3zrlwp8jnnkai92giqn-cursedlife
source root is cursedlife
Using cargo deps from /nix/store/hyj7wbcfirjdx8min1wxdfaizsdsy617-cursedlife-fetch
Using indexHash '-ba82b75dd6681d6f'
Using rust registry from /nix/store/p07f0q58fvszdgjfg73i73g03jaxkfx8-rustRegistry-2017-02-19-d822c58
warning: custom registry support via the `registry.index` configuration is being removed, this functionality will not work in the future
error: failed to load source for a dependency on `ncurses`
Caused by:
Unable to update registry file:///dev/null
Caused by:
failed to open: /tmp/nix-build-cursedlife.drv-0/deps/registry/index/-ba82b75dd6681d6f/.cargo-index-lock
To learn more, run the command again with --verbose.
builder for ‘/nix/store/7z80g4d5cc4n621vl28wzd23265cgcsz-cursedlife.drv’ failed with exit code 101
error: build of ‘/nix/store/7z80g4d5cc4n621vl28wzd23265cgcsz-cursedlife.drv’ failed
The error message (Unable to update registry file:///dev/null) indicates that the behavior described in this code comment has changed. @wizeman?
Technical details
- System:
17.03pre101839.53a2baa (Gorilla)
- Nix version:
nix-env (Nix) 1.11.6
- Nixpkgs version:
17.03pre101839.53a2baa
Issue description
pkgs.rust.buildRustPackagefails every time since I upgraded to nixpkgs17.03pre101839.53a2baa.This is perhaps also a chance to fix #22737.
In this example project:
The error message (
Unable to update registry file:///dev/null) indicates that the behavior described in this code comment has changed. @wizeman?Technical details
17.03pre101839.53a2baa (Gorilla)nix-env (Nix) 1.11.617.03pre101839.53a2baa