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
This happens when you install a pacakge like nix profile install .
error: An existing package already provides the following file:
/nix/store/dqj5nn2hlaxhd603c2j4hvych184pv4h-python3.10-devenv-1.0/lib/python3.10/site-packages/examples/simple/devenv.nix
This is the conflicting file from the new package:
/nix/store/j1izdcn09lw3kkcn68w7hjggjdk8krb4-python3.10-devenv-1.0/lib/python3.10/site-packages/examples/simple/devenv.nix
To remove the existing package:
nix profile remove git+file:///home/domen/dev/cachix/devenv#packages.x86_64-linux.default
The new package can also be installed next to the existing one by assigning a different priority.
The conflicting packages have a priority of 5.
To prioritise the new package:
nix profile install git+file:///home/domen/dev/cachix/devenv#packages.x86_64-linux.default --priority 4
To prioritise the existing package:
nix profile install git+file:///home/domen/dev/cachix/devenv#packages.x86_64-linux.default --priority 6
It should instead offer to remove the store path. cc @bobvanderlinden
The text was updated successfully, but these errors were encountered:
Wouldn't removing the store path always fail as that is still referenced by a GC root from the previous profile generation?
What does you nix profile list actually look like in this case?
This happens when you install a pacakge like
nix profile install .
It should instead offer to remove the store path. cc @bobvanderlinden
The text was updated successfully, but these errors were encountered: