summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/krebspaste/default.nix
blob: a11c8c90aec0632b3f573639a4fc363fe62d542e (plain)
1
2
3
4
5
6
{ 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'
''