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

# TODO: use `wrapProgram --add-flags` instead?
writeScriptBin "krebspaste" ''
  #! /bin/sh
  exec ${pkgs.bepasty-client-cli}/bin/bepasty-cli --url http://paste.retiolum "$@"
''