summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-04-13 21:41:58 +0200
committertv <tv@krebsco.de>2019-04-13 21:51:58 +0200
commita224e77dfbb8dc88119891c492651458cfacd39a (patch)
tree12a4774bce02f2abe57cf80dcfa47516f623d55f /krebs/5pkgs/simple
parent0430fbbbfeef5f7d6188ec70d7f084ffa1cb1a46 (diff)
lass paste: add p.krebsco.de
Diffstat (limited to 'krebs/5pkgs/simple')
-rw-r--r--krebs/5pkgs/simple/kpaste/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/krebs/5pkgs/simple/kpaste/default.nix b/krebs/5pkgs/simple/kpaste/default.nix
index d6823d584..217cb8a44 100644
--- a/krebs/5pkgs/simple/kpaste/default.nix
+++ b/krebs/5pkgs/simple/kpaste/default.nix
@@ -1,5 +1,6 @@
-{ curl, writeDashBin }:
+{ curl, gnused, writeDashBin }:
writeDashBin "kpaste" ''
- exec ${curl}/bin/curl -sS http://p.r --data-binary @-
+ ${curl}/bin/curl -sS http://p.r --data-binary @- |
+ ${gnused}/bin/sed '$ {p;s/\<r\>/krebsco.de/}'
''