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