FAQ: Difference between revisions

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.
imported>Pancho
Line 32: Line 32:
Repeat for your user and further profiles:
Repeat for your user and further profiles:


<syntaxhighlight lang="bash">nix-store -qR ~/.nix-profile |xargs nix-store -r</syntaxhighlight>
<syntaxhighlight lang="bash">nix-store -qR ~/.nix-profile | xargs nix-store -r</syntaxhighlight>
The warning can be ignored for profiles that are listed/linked in ''/nix/var/nix/profiles/'' or one of its subdirectories.
The warning can be ignored for profiles that are listed/linked in ''/nix/var/nix/profiles/'' or one of its subdirectories.