[Nix-dev] fetching tarballs recursively
Sergey Mironov
grrwlf at gmail.com
Fri May 30 09:48:32 CEST 2014
Hi! I am managing an nixpkgs branch and this branch become more and
more older. There already were issues where I had to change mirror
urls because of missing sources. I'd like to store as much as possible
into local repository in order to protect myself from such situations.
Is there a way to recursively traverse nix expression tree and collect
(and fetch) all the 'src' tarballs automatically?
Thanks in advance,
Sergey
PS
Once I have the sources, I'll probably do something like
for s in $ALL_SOURCES ; do
nix-store --add $s
done
in order to build my tree without accessing mirrors/upstream ftps
More information about the nix-dev
mailing list