[Nix-dev] issue with channels and hydra

Andreas Herrmann andreash87 at gmx.ch
Wed Oct 8 11:29:23 CEST 2014


Hi,

I have an issue with the nix-channel nixpkgs-unstable and hydra.
For some reason nix refuses to download pre-built binaries and is insisting on building them on my machine.

My nix-channel (updated just now with nix-channel --update):
    $ nix-channel --list
    nixpkgs http://nixos.org/channels/nixpkgs-unstable

My nixpkgs checkout (should be built according to http://hydra.nixos.org/jobset/nixpkgs/trunk
):
    4b072cfe08e3d6878ac5e6bdbbcdc37e8a70aec9

If I try to install, say, bash then nix will try to build all dependencies:
    $ nix-env -f ~/src/nixpkgs -i bash-4.2-p51
    installing `bash-4.2-p51'
    these derivations will be built:
      /nix/store/20ja0jyiakc5h339s6lmibk6k42iiiab-binutils-2.23.1.drv
      /nix/store/2v03llk9fi1asqfjdyxii12lw3fczmic-xz-5.0.5.drv
      /nix/store/41cp57y3w4ln2iabzl5s8hs3nxxcybi8-paxctl-0.9.drv
      /nix/store/4sraykqxjwrfdzf64nppnipibvm2bf4q-bash-4.2-p51.drv
      /nix/store/fxnqglkrp9pf5j0v9z20z6rah1yhjbnx-bootstrap-gcc-wrapper.drv
      /nix/store/jq8rr4l13h6hqvmvlm3612mzlc6m8hgc-perl-5.16.3.drv
      /nix/store/jw6jplma6ma69j0higks5wvrrg8jcjh7-zlib-1.2.8.drv
      /nix/store/p45rhz527blr93n6g9qnz651r54gkna3-gcc-wrapper-4.8.3.drv
      /nix/store/qh45v8qb13rfv777ra9jgnlcrcmzq6zi-stdenv-linux-boot.drv
      /nix/store/vyqjwy9cnbgszhpakxa0dr0yyx4h1c2p-bison-3.0.2.drv
      /nix/store/xmjkivsb2js3wj3w1ychh218i0knb7hg-stdenv-linux-boot.drv
      /nix/store/z24hjprxvdw93zivagpi7d54vv3ms0f3-gnum4-1.4.17.drv
    building path(s) `/nix/store/2s4yabqxbbswyrk750s1gdjwn258ivwv-perl-5.16.3'

What am I doing wrong? Why isn't nix using the pre-built packages on hydra?

Best,

Andreas


More information about the nix-dev mailing list