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
being impossible to write, due to packages of the same name not being distinguishable by the nix profile remove API, without explicitly handling the entire storepath with hash.
Maybe the nix profile remove--regex flag should search on the storepath? Maybe a new --regex-storepath flag?
The text was updated successfully, but these errors were encountered:
I see #10166 reasoning is fine: "Question is: should we also regex-match on store paths? I think this can lead to unintended matching of hashes. So, probably not."
This is an argument for a new flag --regex-storepath for me
It is currently difficult for me to rebase cleanly #8956 due to a line like
nix profile remove --regex ".*foo-0.1" 2>&1 | grep 'removed 1 packages'
being impossible to write, due to packages of the same name not being distinguishable by the
nix profile remove
API, without explicitly handling the entire storepath with hash.Maybe the
nix profile remove
--regex
flag should search on the storepath? Maybe a new--regex-storepath
flag?The text was updated successfully, but these errors were encountered: