[Nix-dev] trouble building from source

Christopher Howard christopher.howard at frigidcode.com
Tue Jan 8 10:31:21 CET 2013


Hi again. As mentioned, I installed (first time every) the Nix pkg
manager on my Gentoo amd64 box. I did an installation to a local
directory without any root privileges (adjusting the prefix, store
location, and state directory, per the documentation), and so I'm
building everything from source. I obtained Nixpkgs by adding the
"nixpkgs-unstable" channel, per the documentation here:

https://nixos.org/nixpkgs/download.html

When I go to install a package, I manage to download a lot of the
dependencies, but ultimately nix-env fails here:

code:
--------
trying
http://nixos.org/releases/patchelf/patchelf-0.6/patchelf-0.6.tar.bz2

curl: (7) Failed to connect to 2001:610:685:1::1: Network is unreachable
error: cannot download patchelf-0.6.tar.bz2 from any mirror
builder for
`/scratch/cmhoward/nixstore/iwb635d6gipxx6js48i4n9iqlq4cz8pf-patchelf-0.6.tar.bz2.drv'
failed with exit code 1
cannot build derivation
`/scratch/cmhoward/nixstore/6whzrj2abgkv9gqshn737wigh5j25i0n-patchelf-0.6.drv':
1 dependencies couldn't be built
building path(s)
`/scratch/cmhoward/nixstore/9dziq15fxlhjfyk4zxkxw7p33wnp4wly-stdenv-linux-boot'
cannot build derivation
`/scratch/cmhoward/nixstore/nskbg6y6f0rzw9x8l8hks46qp9f1ycxk-stdenv.drv': 1
dependencies couldn't be built
killing process 2760
cannot build derivation
`/scratch/cmhoward/nixstore/z2906lclqa7za1jiy4dpq2h35d5zs9nj-bsd-games-2.17.drv':
1 dependencies couldn't be built
error: build of
`/scratch/cmhoward/nixstore/z2906lclqa7za1jiy4dpq2h35d5zs9nj-bsd-games-2.17.drv'
failed
--------

That was when trying to build bsd-games. Same thing eventually happens
when I try to build supertux.

I seem to be using "nixpkgs-1.0pre23217_d6571f9", in case that is
helpful information.

-- 
frigidcode.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20130108/69f2fdde/attachment.bin 


More information about the nix-dev mailing list