>>>> I guess specifying -k (--keep-going) flag to nix-build would help. >>>> >>>> nix-build /etc/nixos/nixos -k -A system >>> >>> Didn't think of that, but it might indeed get me a bit further. >>> Depends a bit on how high/low in the dependency-tree the missing >>> source sits though. >>> For example if some X11 source is not found, building anything >>> graphical will be skipped. >> >> But the sources for the graphical stuff will still be downloaded > >Ok, that's close then, somewhat of a 2-phase project :) > >If I understand correctly: >It will guarantee that everything that can be downloaded gets >downloaded, and everything that can be built with that, gets built. > >So if I run again after that, I will hit all the download issues at >once. Fixing these will guarantee a smooth build afterwards >(sources-wise, of course other issues can come up)
Yes. So, unless going-offline is not an issue, you can avoid using nix-reduce-build (and going offline gets too little consideration in Nix community, unfortunately) _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
