stockholm/krebs/5pkgs/simple/krebspaste/default.nix
2018-09-16 01:49:11 +02:00

7 lines
206 B
Nix

{ writeDashBin, bepasty-client-cli }:
# TODO use `pkgs.exec` instead?
writeDashBin "krebspaste" ''
exec ${bepasty-client-cli}/bin/bepasty-cli -L 1m --url http://paste.r "$@" | sed '$ s/$/\/+inline/g'
''