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:
Managor 2025-04-29 01:56:05 +02:00 committed by GitHub
commit 80ec2dc1c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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: