]> git.scottworley.com Git - pinch/commitdiff
Links & feature comparison with require.nix, niv, flakes
authorScott Worley <scottworley@scottworley.com>
Fri, 17 Jul 2020 22:34:28 +0000 (15:34 -0700)
committerScott Worley <scottworley@scottworley.com>
Fri, 17 Jul 2020 23:16:26 +0000 (16:16 -0700)
README

diff --git a/README b/README
index 5c451076bb15236488d376599f1d8aa9c6b9fb32..46b1d147991d1d97b07e8ee214241f9955b5423b 100644 (file)
--- a/README
+++ b/README
@@ -27,8 +27,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`.
-    * Channel 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  |
+
+[require.nix]: https://www.youtube.com/watch?v=DHOLjsyXPtM
+[niv]: https://github.com/nmattia/niv
+[flakes]: https://github.com/nixos/rfcs/pull/49