Skip to content

nix-env: refactor uninstallDerivations#3537

Merged
edolstra merged 1 commit intoNixOS:masterfrom
lheckemann:nix-env-warn-unmatched
Apr 28, 2020
Merged

nix-env: refactor uninstallDerivations#3537
edolstra merged 1 commit intoNixOS:masterfrom
lheckemann:nix-env-warn-unmatched

Conversation

@lheckemann
Copy link
Copy Markdown
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
Copy Markdown
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