WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit fa9c36b

Browse files
committed
readme: nix instructions
1 parent 32a57ab commit fa9c36b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,14 @@ There are no downloadable builds at the moment. To compile the tool manually:
195195
2. `cargo install --git https://github.com/archtechx/todo-system.git`
196196
3. The tool will be added to your `$PATH` automatically as `todos`
197197

198+
If you use Nix (with flakes), you can use this repo as an input. The tool is
199+
exported as the default package. You can try it out using:
200+
```
201+
nix run github:archtechx/todo-system -- --help
202+
# or create a temporary shell with `todos` in PATH:
203+
nix shell github:archtechx/todo-system
204+
```
205+
198206
I personally also like creating an alias that does `todos | less`:
199207
```sh
200208
alias t="todos | less"

0 commit comments

Comments
 (0)