[Nix-dev] Re: restricted downloads

Yury G. Kudryashov urkud+nix at ya.ru
Sat May 1 19:58:59 CEST 2010


Ludovic Courtès wrote:

> Hi Yury,
> 
>> When a user will try to build this package, fetchurl will show message
>> like "go to ${url}, download ${name} and add it using nix-store
>> --add-fixed sha256".
> 
> What’s the rationale?
Some files cannot be fetched automatically. For example, sometimes user must 
sign license agreement online before downloading file (e.g. old sun-jre, 
pkgs.wtk), or even buy non-free CD/DVD (games etc.).
Using "restricted = true;" feature, we can write .nix packages for these 
non-free programs.




More information about the nix-dev mailing list