1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
This commit is contained in:
Antti Savolainen 2025-04-28 17:31:20 +03:00
parent 1e63860e1d
commit ecb7a484e2
2 changed files with 4 additions and 4 deletions

View file

@ -6,8 +6,8 @@
- Build a Nix expression:
`nix-build '<nixpkgs>' --attr {{firefox}}`
`nix-build '{{nixpkgs}}' {{[-A|--attr]}} {{firefox}}`
- Build a sandboxed Nix expression (on non-NixOS):
`nix-build '<nixpkgs>' --attr {{firefox}} --option sandbox true`
`nix-build '{{nixpkgs}}' {{[-A|--attr]}} {{firefox}} --option sandbox true`

View file

@ -6,11 +6,11 @@
- Delete all store paths unused by current generations of each profile:
`sudo nix-collect-garbage --delete-old`
`sudo nix-collect-garbage {{[-d|--delete-old]}}`
- Simulate the deletion of old store paths:
`sudo nix-collect-garbage --delete-old --dry-run`
`sudo nix-collect-garbage {{[-d|--delete-old]}} --dry-run`
- Delete all store paths older than 30 days: