From 486300fb352c514d2df3cec2b8d221aaa7cf37ae Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 8 Jun 2020 22:59:09 +0200 Subject: krops runCommand: derive script name from command --- pkgs/krops/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3