X-Git-Url: http://git.scottworley.com/pinch/blobdiff_plain/597bd03a184f89d9f46271dfb18da72812f8a8b7..e2478492c622511a381058c04aeeeb3186c53073:/README?ds=sidebyside diff --git a/README b/README index b0c1ebc..80dcdce 100644 --- a/README +++ b/README @@ -1,3 +1,9 @@ +# Deprecated + +Now that [flakes][https://nixos.wiki/wiki/Flakes] are more or less ready for +general use, this is mostly of historical interest. + + # Pinch PIN CHannels - a simple drop-in replacement for `nix-channel --update`. @@ -27,8 +33,19 @@ The first "pin" command will add these fields to the file: The second "update" command applies these changes to your nix channels, like `nix-channel --update` does. -Advantages over nix-channel: - - * Deploy the exact same channel content to multiple machines. - * Store your pin file in revision control for more powerful rollback mechanism than `nix-channel --rollback`. - * Chanel contents are verified by hash before being installed. +### Feature comparison + +| Feature | nix-channel | [require.nix][] | [niv][] | [flakes][] | pinch | +| ---------------------------- | :---------: | :-------------: | :-----: | :--------: | :---: | +| Same version across machines | - | yes | yes | yes | yes | +| Verifies hashes | - | ? | yes | yes | yes | +| Fetch from git | - | ? | yes | yes | yes | +| Fetch from git with ssh key | - | ? | yes | yes? | yes | +| command_not_found_handle | yes | ? | - | yes | yes | +| Verifies tarball == git repo | - | - | - | - | yes | +| Rejects force pushes | - | - | - | - | yes | +| Ready to use today | yes | - | yes | yes | yes | + +[require.nix]: https://www.youtube.com/watch?v=DHOLjsyXPtM +[niv]: https://github.com/nmattia/niv +[flakes]: https://github.com/nixos/rfcs/pull/49