FAQ: Difference between revisions

imported>OliverEvans96
mNo edit summary
imported>Schmittlauch
fixed command for pulling in all build-time dependency source files
Line 25: Line 25:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
nix-store -qR $(nix-instantiate /etc/nixos/nixos -A system) | xargs nix-store -r
nix-store -qR $(nix-instantiate "<nixpkgs/nixos>" -A system) | xargs nix-store -r
warning: you did not specify `--add-root'; the result might be removed by the garbage collector
warning: you did not specify `--add-root'; the result might be removed by the garbage collector