summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/krebspaste/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/5pkgs/krebspaste/default.nix')
-rw-r--r--krebs/5pkgs/krebspaste/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/krebs/5pkgs/krebspaste/default.nix b/krebs/5pkgs/krebspaste/default.nix
new file mode 100644
index 000000000..13920ad08
--- /dev/null
+++ b/krebs/5pkgs/krebspaste/default.nix
@@ -0,0 +1,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 "$@"
+''