FAQ: Difference between revisions
imported>Pancho m →How can I disable the binary cache and build everything locally?: Prefer single quotes in shell if no variable interpolation is needed, also, slightly easier to type |
imported>Pancho m →How to keep build-time dependencies around / be able to rebuild while being offline?: Style fix: prefer single quotes in shell if no variable interpolation is needed. Also, slightly easier to type. |
||
Line 25: | Line 25: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
nix-store -qR $(nix-instantiate | 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 | ||