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-env: refactor uninstallDerivations #3537

Merged
merged 1 commit into from Apr 28, 2020

Conversation

lheckemann
Copy link
Member

Reduces the number of store queries it performs. Also prints a warning
if any of the selectors did not match any installed derivations.

UX Caveats:

  • Will print a warning that nothing matched if a previous selector
    already removed the path
  • Will not do anything if no selectors were provided (no change from
    before).

Fixes #3531

Reduces the number of store queries it performs. Also prints a warning
if any of the selectors did not match any installed derivations.

UX Caveats:
- Will print a warning that nothing matched if a previous selector
  already removed the path
- Will not do anything if no selectors were provided (no change from
  before).

Fixes NixOS#3531
@edolstra edolstra merged commit 6a8cba8 into NixOS:master Apr 28, 2020
@edolstra
Copy link
Member

Thanks!

@lheckemann lheckemann deleted the nix-env-warn-unmatched branch April 28, 2020 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nix-env -e silently ignores errors
2 participants