[Nix-dev] nix-store --delete --gc name clash ?

Marc Weber marco-oweber at gmx.de
Mon Mar 24 18:00:12 CET 2008


>From nix-store --help


=============  =======================================================
  --delete: safely delete paths from the Nix store
  [...]
  --gc: run the garbage collector
  [..]

Garbage collector options:

  [...]
  --delete: delete dead paths (default)
=============  =======================================================

running 
  nix-store --gc --delete

fails:

    error: only one operation may be specified
    Try `nix-store --help' for more information.

Would it be better to write

=============  =======================================================
Garbage collector options:

  --print-roots: print GC roots and exit
  --print-live: print live paths and exit
  --print-dead: print dead paths and exit
  default : delete dead paths
=============  =======================================================

then ?

Marc Weber



More information about the nix-dev mailing list