2016-06-13 00:04:22 +00:00
|
|
|
{ writeDashBin, bepasty-client-cli }:
|
2015-11-05 15:13:10 +00:00
|
|
|
|
2018-09-15 23:46:46 +00:00
|
|
|
# TODO use `pkgs.exec` instead?
|
2016-06-13 00:04:22 +00:00
|
|
|
writeDashBin "krebspaste" ''
|
2017-04-13 12:03:36 +00:00
|
|
|
exec ${bepasty-client-cli}/bin/bepasty-cli -L 1m --url http://paste.r "$@" | sed '$ s/$/\/+inline/g'
|
2015-11-05 15:13:10 +00:00
|
|
|
''
|