stockholm/krebs/5pkgs/krebspaste/default.nix
2015-11-05 16:19:04 +01:00

10 lines
269 B
Nix

{ 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 "$@"
''