From 77e36a7a196e378881150b01c370c35625f08946 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 5 Nov 2015 16:13:10 +0100 Subject: krebs 5 krebspaste: initial commit --- krebs/5pkgs/krebspaste/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 krebs/5pkgs/krebspaste/default.nix (limited to 'krebs/5pkgs/krebspaste') 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 "$@" +'' -- cgit v1.2.3 From 12597b1febb0bc47cf98529a12e5fc6af1d8f5a4 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 5 Nov 2015 16:21:09 +0100 Subject: k 5 krebspaste: resolve TODO, retiolum is always secure --- krebs/5pkgs/krebspaste/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'krebs/5pkgs/krebspaste') diff --git a/krebs/5pkgs/krebspaste/default.nix b/krebs/5pkgs/krebspaste/default.nix index 13920ad08..fb318af83 100644 --- a/krebs/5pkgs/krebspaste/default.nix +++ b/krebs/5pkgs/krebspaste/default.nix @@ -1,9 +1,7 @@ { 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 "$@" + exec ${pkgs.bepasty-client-cli}/bin/bepasty-cli --url http://paste.retiolum "$@" '' -- cgit v1.2.3