aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-06-08 22:59:09 +0200
committertv <tv@krebsco.de>2020-06-08 22:59:42 +0200
commit486300fb352c514d2df3cec2b8d221aaa7cf37ae (patch)
tree5c0a2ac79840c06977550b48623593dc7dcb5067 /pkgs
parent81c4885124f8a6c316a9911a0cb4bd60caa4e674 (diff)
krops runCommand: derive script name from command
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/krops/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/krops/default.nix b/pkgs/krops/default.nix
index ab2a722..2a1b629 100644
--- a/pkgs/krops/default.nix
+++ b/pkgs/krops/default.nix
@@ -21,7 +21,7 @@ in
if lib.isLocalTarget target
then command
else
- writers.writeDash "build.${target.host}" ''
+ writers.writeDash "krops.${target.host}.${lib.firstWord command}" ''
exec ${openssh}/bin/ssh ${lib.escapeShellArgs (lib.flatten [
(lib.optionals (target.user != "") ["-l" target.user])
"-p" target.port