On 16 March 2017 at 10:07, Bjørn Forsman <bjorn.fors...@gmail.com> wrote:
> Hi all Nixers,
>
> I would like to use Nix on an air gapped network. For that I need to
> download all sources referred by nixpkgs.

I started digging into ./maintainers/scripts/find-tarballs.nix and
found that there was just small changes needed to make it output all
fetch* derivations, not just fetchurl ones (unless I'm mistaken --
haven't fully verified it).

However, due to evaluation problems in nixpkgs and a stack overflow,
it's unuseable :-(

The code is here:
https://github.com/bjornfor/nixpkgs/blob/find-all-sources/maintainers/scripts/all-sources.nix

In the top of the file I list the problems I faced.

Any suggestions?

Can we have a bounty for implementing "nix fetch-sources --recursive
$expr"? I'll pay! :-)

Best regards,
Bjørn Forsman
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to