NixOS / nix

Nix, the purely functional package manager
https://nixos.org/
GNU Lesser General Public License v2.1
12.73k stars 1.52k forks source link

Missing 'nix' subcommands #4429

Open edolstra opened 3 years ago

edolstra commented 3 years ago

Tracking issue for missing functionality in the nix command.

nixos-discourse commented 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

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info

davidak commented 3 years ago

...

lucc commented 2 years ago

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.

lucc commented 2 years ago

Also I did not find any hint how to replace nix-env --profile ... --set ... with nix profile in the docs.

Gerschtli commented 2 years ago

Also, a replacement for nix-collect-garbage --delete-older-than 14d seems to be missing.

yshui commented 9 months ago

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.