[Nix-dev] nixpkgs Dependencies Availability Test

Peter Simons simons at cryp.to
Fri Nov 20 16:38:00 CET 2015


Hi Martin,

Eelco suggested [1] the command

  nix-store -r $(grep -l outputHash $(nix-store -qR $(nix-instantiate '<nixpkgs>' -A foobar) | grep '.drv$'))

to download all sources for "foobar", which seems more robust than
ad-hoc parsing of the Nixpkgs tree. Maybe this technique can help
simplify your approach?

Best regards,
Peter


[1] http://permalink.gmane.org/gmane.linux.distributions.nixos/10153



More information about the nix-dev mailing list