Closed bzm3r closed 7 months ago
Simply re-adding with npins add --name nixpkgs channel nixos-23.11
should work.
@piegamesde Aha! Thanks! I was misunderstanding what the name
option was for. I think it would be helpful if it did have a small string describing what its purpose is.
Suppose I run
npins init --bar
, and thennpins add channel nixpkgs-stable
.Assume I take the the trouble to rename
nixpkgs-23.05
tostable
insource.json
.Now, in the future, suppose I want to switch to
nixpkgs-23.11
. Is there any way for me to do that usingnpins
? (I think not?) Essentially an equivalent for the following fromniv
: