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