Open edolstra opened 3 years ago
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/tweag-nix-dev-update-6/11195/1
I marked this as stale due to inactivity. → More info
...
I was unable to find a replacement for nix-store --gc --print-roots
in the docs for nix store gc
(where I assumed it should be) or any other part of nix store
that I poked around.
Also I did not find any hint how to replace nix-env --profile ... --set ...
with nix profile
in the docs.
Also, a replacement for nix-collect-garbage --delete-older-than 14d
seems to be missing.
Missing equivalent for nix-prefetch-url --unpack
. This is a weird one, I think nix store prefetch-file
doesn't try to unpack, but nix flake prefetch
does? So technically it's covered, but this is very confusing. I would prefer nix store prefetch-file
has an --unpack
option.
Tracking issue for missing functionality in the
nix
command.nix-collect-garbage
/nix-store --gc
->nix store gc
nix-store --delete
->nix store delete
nix-env --rollback
->nix profile rollback
nix-env --switch-generation
->nix profile rollback --to
nix-env --delete-generations
->nix profile wipe-history
nix-env --list-generations
->nix profile history
nix-store --serve
nix-daemon
->nix daemon
nix-store --repair-path
->nix store repair
nix-store --dump-db
- maybe not needed (nix path-info --json --all
might be enough)nix-store --load-db
/nix-store --register-validity
nix-store --generate-binary-cache-key
->nix key
nix-prefetch-url
->nix store prefetch-file
/nix flake prefetch
nix-prefetch-url -A
->nix build
(need a flag to handle the hash mismatch)nix-store -q --referrers
nix-env -qa
-s
flag,-c
flag