summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-04-13 21:54:23 +0200
committerlassulus <lassulus@lassul.us>2019-04-13 21:54:23 +0200
commit7083200810b4cca19b02550e1ec2a000aa686b63 (patch)
tree5f7a34d9b0c27df6e315b0e730aace40bc2fbebf /krebs/5pkgs
parent4ac7399b75e57bb33a10ed647c34ed64c7bc3877 (diff)
parenta224e77dfbb8dc88119891c492651458cfacd39a (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'krebs/5pkgs')
-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/}'
''