From 76b88ee189a2a9289895aa62afd4beead9f0d389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sun, 1 Dec 2024 16:03:23 +0100 Subject: [PATCH] strip line --- config/services/hydra/remote-eval-jobs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/config/services/hydra/remote-eval-jobs.py b/config/services/hydra/remote-eval-jobs.py index 674caed3..bc4be8fc 100644 --- a/config/services/hydra/remote-eval-jobs.py +++ b/config/services/hydra/remote-eval-jobs.py @@ -49,6 +49,7 @@ result = subprocess.Popen(["@ssh@", "build-rainbow-resort", "nix-eval-jobs"] + l for line in iter(result.stdout.readline, ""): try: + line = line.strip() data = json.loads(line) # copy .drv file home subprocess.run(["@nix@", "copy", data["drvPath"], "--from", "ssh://build-rainbow-resort", "--no-check-sigs"], check=True, stdout=subprocess.DEVNULL)