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

profile: add installable matcher #10198

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bobvanderlinden
Copy link
Member

This allows removing and upgrading packages using flake urls.

Motivation

Currently it can be surprising that using the same argument for installing a package will not work for removing them:

$ nix profile install nixpkgs#firefox
$ nix profile remove nixpkgs#firefox

To make this work this PR adds another matcher (like in #10166), but now for 'installables': flake#package or any of the variants thereof.

Context

Fixes #10064

Priorities and Process

Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@github-actions github-actions bot added new-cli Relating to the "nix" command with-tests Issues related to testing. PRs with tests have some priority labels Mar 8, 2024
@bobvanderlinden bobvanderlinden marked this pull request as ready for review March 8, 2024 22:04
This allows removing and upgrading packages using flake urls.
@bobvanderlinden
Copy link
Member Author

@edolstra could you have a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-cli Relating to the "nix" command with-tests Issues related to testing. PRs with tests have some priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nix profile: match entries using flake uri
1 participant