Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show new nix cli commands when profile is not used #191

Open
Gerschtli opened this issue Nov 5, 2022 · 2 comments
Open

Show new nix cli commands when profile is not used #191

Gerschtli opened this issue Nov 5, 2022 · 2 comments

Comments

@Gerschtli
Copy link

Hey, in my environment I don't use nix-env or nix profile at all. Also I don't use channels so I would like to see the new nix cli commands with the nixpkgs registry name instead.

What do you think about an environment variable, a config value, or a dedicated nix package for new nix cli/flakes commands only?

@Niols
Copy link

Niols commented Mar 30, 2023

I feel there are two requests in this issue:

  1. Be able to customize whether or not to show the nix-env or nix profile part of the help.
  2. Be able to customize whether to show nix-env/nix-shell hints or nix profile/nix run ones instead of relying on the script guessing from the filesystem.

Is that right? Personally, just like @Gerschtli, I'd got for no nix-env/nix profile part of the help, and only the nix run one, but it's probably not much harder to offer the choice!

@srid
Copy link

srid commented Jan 19, 2024

FWIW, the new cli commands are displayed if the user profile manifest exists. See https://nixos.zulipchat.com/#narrow/stream/413950-nix/topic/nix-index/near/416719968

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants