[Nix-dev] Re: restricted downloads
Ludovic Courtès
ludo at gnu.org
Sat May 1 19:41:04 CEST 2010
Hi Yury,
"Yury G. Kudryashov" <urkud+nix at ya.ru> writes:
> I've just commited support for "restricted downloads" in fetchurl. The idea
> is that you can write
> src = fetchurl {
> url = "http://restricted.noltd/download.html";
> name = "my_restricted_src.zip";
> restricted = true;
> sha256 = "myhash";
> };
>
> 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?
Thanks,
Ludo’.
More information about the nix-dev
mailing list