so-dang-cool / dt

dt - duct tape for your unix pipes
https://dt.plumbing/
BSD 3-Clause "New" or "Revised" License
430 stars 12 forks source link

feat: add nix support #58

Closed chadac closed 1 year ago

chadac commented 1 year ago

tests

booniepepper commented 1 year ago

Works on the first try! :kissing: :ok_hand: :sparkles:

❯ nix run
dt 1.2.4
Learn from my mistakes - someone should.
» [ 1 2 3 4 5 6 7 8 9 ] [ \n: [ ] [ "*" push ] n times  unwords ] map pls
*
* *
* * *
* * * *
* * * * *
* * * * * *
* * * * * * *
* * * * * * * *
* * * * * * * * *
» 
❯ nix develop
[hiljusti@blackbox dt]$ which zig
/nix/store/6vgflg2gmqs0cn6n3h2npimfcybizwwp-zig-0.11.0/bin/zig
[hiljusti@blackbox dt]$ zig build
[hiljusti@blackbox dt]$ zig-out/bin/dt
dt 1.2.4
Keep your stick on the ice.
» quit
[hiljusti@blackbox dt]$