mirror of
https://github.com/NixOS/nix.git
synced 2025-12-16 14:01:05 +01:00
* New command `nix-store --optimise' to reduce Nix store disk space
usage by finding identical files in the store and hard-linking them to each other. It typically reduces the size of the store by something like 25-35%. This is what the optimise-store.pl script did, but the new command is faster and more correct (it's safe wrt garbage collection and concurrent builds).
This commit is contained in:
parent
27a0662828
commit
a8629de827
5 changed files with 188 additions and 99 deletions
|
|
@ -21,6 +21,7 @@ Operations:
|
|||
|
||||
--init: initialise the Nix database
|
||||
--verify: verify Nix structures
|
||||
--optimise: optimise the Nix store by hard-linking identical files
|
||||
|
||||
--version: output version information
|
||||
--help: display help
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue