[Nix-dev] Using a different mirror

Eelco Dolstra eelco at cs.uu.nl
Thu Sep 13 14:10:26 CEST 2007


Erick Tryzelaar wrote:
> Since I'm in the US, it's a bit more efficient for me to download
> something like the linux kernel from a US mirror instead of the default
> German mirror. Is there any way to have this be handled automatically?

So this is now possible in Nixpkgs 0.11, as described in the release notes:
http://nix.cs.uu.nl/dist/nix/nixpkgs-0.11/release-notes/

For using US mirrors of the Linux kernel archives:

export NIX_MIRRORS_kernel=http://www.kernel.org/pub/

(The default is now to use www.all.kernel.org.)

-- 
Eelco Dolstra | http://www.cs.uu.nl/~eelco



More information about the nix-dev mailing list