andir / npins

Nix dependency pinning. Very similar to Niv but has a few features that I personally wanted.
European Union Public License 1.2
194 stars 16 forks source link

How to add an entry with name `nixpkgs` tracking a specific `nixpkgs-*` channel? #54

Closed bzm3r closed 10 months ago

bzm3r commented 10 months ago

Running npins init creates a nixpkgs based on unstable.

Suppose I run npins remove nixpkgs. What npins add based command can I run to re-insert a source named nixpkgs based on (for the sake of example) the nixpkgs-unstable channel?

piegamesde commented 10 months ago

npins add --name nixpkgs channel nixpkgs-unstable