[Nix-dev] Re: restricted downloads
Ludovic Courtès
ludo at gnu.org
Sat May 1 21:53:20 CEST 2010
Hi,
"Yury G. Kudryashov" <urkud+nix at ya.ru> writes:
> 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.
OK, thanks for explaining.
For the time being, I can safely assume that any package using this
feature is non-free, right?
Thanks,
Ludo’.
More information about the nix-dev
mailing list