diff options
author | tv <tv@krebsco.de> | 2023-05-16 19:32:49 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-05-16 19:32:49 +0200 |
commit | 56cff01ac49351e4a80a6003e96393922026f0ad (patch) | |
tree | 94c85c4e59028a3b41ff83c2fad05782bae551e0 /krebs/5pkgs/simple/kpaste/default.nix | |
parent | e3c8492f30a2c73acfb43478d8ceb8c38d7fa777 (diff) | |
parent | df09f8293f326235d417ec750edf05298ba468de (diff) |
Merge remote-tracking branch 'orange/master'
Diffstat (limited to 'krebs/5pkgs/simple/kpaste/default.nix')
-rw-r--r-- | krebs/5pkgs/simple/kpaste/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/krebs/5pkgs/simple/kpaste/default.nix b/krebs/5pkgs/simple/kpaste/default.nix index 9820c931d..de2de4721 100644 --- a/krebs/5pkgs/simple/kpaste/default.nix +++ b/krebs/5pkgs/simple/kpaste/default.nix @@ -1,6 +1,7 @@ { curl, gnused, writeDashBin }: writeDashBin "kpaste" '' - ${curl}/bin/curl -sS http://p.r --data-binary @"''${1:--}" | + ${curl}/bin/curl -sS http://p.r --data-binary @"''${1:--}" \ + -H "Content-Type-Override: ''${KPASTE_CONTENT_TYPE-}" | ${gnused}/bin/sed '$ {p;s|http://p.r|https://p.krebsco.de|}' '' |