-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Description
Describe the bug
It seems that nix upgrade-nix
is incompatible with nix profile
.
Steps To Reproduce
- Install a package with
nix profile install nixpkgs#hello
- Try to upgrade nix with
nix upgrade-nix
. The following error is displayed:
nix upgrade-nix
error: directory '/Users/smaret/.nix-profile/bin' does not appear to be part of a Nix profile
Expected behavior
nix upgrade-nix
should upgrade to the latest stable release
nix-env --version
output
nix-env --version
nix-env (Nix) 2.4
Additional information
Relevant line in nix source code:
Line 122 in 7c90552
if (baseNameOf(where) != "bin" || |
alker0, counterposition, abhillman, pmarreck, kevinmehall and 6 more