stockholm/krebs/5pkgs/krebspaste/default.nix
2017-04-13 14:03:36 +02:00

7 lines
203 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 "$@" | sed '$ s/$/\/+inline/g'
''