summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/5pkgs/simple')
-rw-r--r--krebs/5pkgs/simple/cyberlocker-tools/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/5pkgs/simple/cyberlocker-tools/default.nix b/krebs/5pkgs/simple/cyberlocker-tools/default.nix
index 420acb192..80593bcae 100644
--- a/krebs/5pkgs/simple/cyberlocker-tools/default.nix
+++ b/krebs/5pkgs/simple/cyberlocker-tools/default.nix
@@ -4,7 +4,7 @@ pkgs.symlinkJoin {
paths = [
(pkgs.writers.writeDashBin "cput" ''
set -efu
- path=$1
+ path=''${1:-$(hostname)}
${pkgs.curl}/bin/curl -Ss --data-binary @- "http://c.r/$path"
echo "http://c.r/$path"