Cleaning the nix store: Difference between revisions
m Remove unnecessary leading white space from command |
Add better Darwin command |
||
| Line 9: | Line 9: | ||
<syntaxhighlight lang="shell"> | <syntaxhighlight lang="shell"> | ||
nix-store --gc --print-roots | egrep -v "^(/nix/var|/run/\w+-system|\{memory|/proc)" | nix-store --gc --print-roots | egrep -v "^(/nix/var|/run/\w+-system|\{memory|/proc)" | ||
# Darwin | |||
nix-store --gc --print-roots | egrep -v "^(/nix/var|/run/\w+-system|\{libproc)" | |||
</syntaxhighlight> | </syntaxhighlight> | ||