[Nix-dev] nixos-rebuild switch and downloading missing files

Yurii Kudryashov urkud.urkud at gmail.com
Thu Jul 19 10:41:50 CEST 2007


2007/7/18, Eelco Dolstra <eelco at cs.uu.nl>:
> Maybe a nice approach would be for fetchurl to be expanded to look for tarballs
> in a set of default URLs.  So if you have
>
>   fetchurl {
>     src = http://example.org/tarball.tar.bz2;
>     md5 = HASH;
>   }
>
> it would first try to download from (say)
> http://nix.cs.uu.nl/dist/tarballs/HASH-tarball.tar.bz2 and maybe some more
> (configurable) locations.

Support for URLs like sourceforge:// or gentoo:// (with configurable
substitutions) would be another fine feature.
-- 
Yura
mailto: urkud.urkud at gmail.com



More information about the nix-dev mailing list