diff options
author | tv <tv@krebsco.de> | 2020-06-08 22:59:09 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2020-06-08 22:59:42 +0200 |
commit | 486300fb352c514d2df3cec2b8d221aaa7cf37ae (patch) | |
tree | 5c0a2ac79840c06977550b48623593dc7dcb5067 | |
parent | 81c4885124f8a6c316a9911a0cb4bd60caa4e674 (diff) |
krops runCommand: derive script name from command
-rw-r--r-- | pkgs/krops/default.nix | 2 |
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 |