Changes
1 changed files (+1/-1)
-
-
@@ -10,7 +10,7 @@ Prefer the new `nix` CLI when possible instead of the old `nix-*` commands. It's| --- | --- | | Run program | `nix run nixpkgs#hello` (needs `--` if passing args) | | Run program from another Nixpkgs repo | `nix run github:Toby222/nixpkgs#space-station-14-launcher` | | Clean Nix store `run0 nix-collect-garbage` and `nix store optimise` | | Clean Nix store | `run0 nix-collect-garbage` and `nix store optimise` | | Get size of Nix store | `sqlite3 'file:/nix/var/nix/db/db.sqlite?readonly=true&immutable=true' 'SELECT SUM(narSize) FROM ValidPaths'` | | Get largest packages | `sqlite3 'file:/nix/var/nix/db/db.sqlite?readonly=true&immutable=true' 'SELECT * FROM ValidPaths ORDER BY narSize DESC LIMIT 50'` | | Check if anything depends on path | `nix-store --query --referrers /nix/store/blah` |
-