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

nix profile: Upgrade originalRef if exists on install #3902

Open
wants to merge 2 commits into
base: master
from

Conversation

@matthewbauer
Copy link
Member

matthewbauer commented Aug 6, 2020

On nix profile install, we only want to add a new profile element if
one that matches the old one doesn’t already exist. If it does exist,
we can just replace that element. This allows using nix profile
install like ‘nix-env -i’ was used, to both install and upgrade.

matthewbauer added 2 commits Aug 6, 2020
On nix profile install, we only want to add a new profile element if
one that matches the old one doesn’t already exist. If it does exist,
we can just replace that element. This allows using nix profile
install like ‘nix-env -i’ was used, to both install and upgrade.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.