summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/krebspaste/default.nix
blob: 13920ad0852f3d68483b7ae9548d3c045824a398 (plain)
1
2
3
4
5
6
7
8
9
{ writeScriptBin, pkgs }:

# TODO: add krebs CA to toolchain, remove --insecure
# TODO: use `wrapProgram --add-flags` instead?

writeScriptBin "krebspaste" ''
  #! /bin/sh
  exec ${pkgs.bepasty-client-cli}/bin/bepasty-cli --insecure --url http://paste.retiolum "$@"
''