-
-
Notifications
You must be signed in to change notification settings - Fork 325
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
Install instruction for nixos in package search recommend nix-env #672
Comments
No, What is broken about |
What makes nix-env broken in my opinion:
|
Isn't that what you would expect to happen? 15.0.1 is a higher version than 8u272... |
The problem here is that the "versioned" part in the attribute name is resolved once during Using |
@symphorien @garbas fixed by NixOS/nixos-search#514 |
nice ! |
Introduce your stance
nix-env
is awkward to use,nix-env -u
is fully broken so on nixos at least, it is better to advise people to use/etc/nixos/configuration.nix
to install things.Describe the issue
When one selects a package in the package search, two installations methods are provided:
nix-env -iA nixos.foo
for nixosnix-env -iA nixpkgs.foo
for non nixosThe nixos tab should be something along the lines of "add
environment.systemPackages = [ pkgs.foo ]
to/etc/nixos/configuration.nix
"It may or may not mention using nix-env, but only as a second possibilty.
Page links
https://search.nixos.org/packages?channel=20.09&show=hello&from=0&size=50&sort=relevance&query=hello
Additional context
cc @flokli @Ekleog
The text was updated successfully, but these errors were encountered: