Hi, On 09/01/13 22:52, Peter Simons wrote:
> > a) --download-only option for nix-build > > That way, before attempting long builds, I can make sure I have all > > the sources, and don't even need an internet connection during the > > real build. > > it would be great if nix-build had an option like that. I don't know > whether that feature would be easy to implement or not, but I can say > that I've wanted something like that many times before. Here is a one-liner for downloading all the source dependencies of a package: > nix-store -r $(grep -l outputHash $(nix-store -qR $(nix-instantiate > '<nixpkgs>' -A geeqie) | grep '.drv$')) -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
