You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it is not possible to upgrade a package using the same flake reference you installed it with.
this conflicts with the behavior of every other package manager, where the name used to install and update a package are the same.
it also is a problem when you have multiple packages with the same flake attribute. this is especially common with default packages (packages.x86_64-linux.default)
Steps To Reproduce
$ nix profile install nixpkgs#hello
$ nix profile upgrade nixpkgs#hello
warning: 'nixpkgs#hello' does not match any packages
Describe the bug
it is not possible to upgrade a package using the same flake reference you installed it with.
this conflicts with the behavior of every other package manager, where the name used to install and update a package are the same.
it also is a problem when you have multiple packages with the same flake attribute. this is especially common with default packages (
packages.x86_64-linux.default
)Steps To Reproduce
$ nix profile install nixpkgs#hello
$ nix profile upgrade nixpkgs#hello
warning: 'nixpkgs#hello' does not match any packages
Expected behavior
the package should be updated
nix-env --version
outputnix-env (Nix) 2.18.1
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: