stockholm/krebs/5pkgs/krebspaste/default.nix
2017-03-14 23:08:09 +01:00

7 lines
177 B
Nix

{ writeDashBin, bepasty-client-cli }:
# TODO use `execve` instead?
writeDashBin "krebspaste" ''
exec ${bepasty-client-cli}/bin/bepasty-cli -L 1m --url http://paste.r "$@"
''