From 6ad8fb21fe7d4d5e0d6e48259f82c945f641ebdf Mon Sep 17 00:00:00 2001 From: clerie Date: Fri, 21 Jul 2023 23:29:13 +0200 Subject: [PATCH] Display nix copy command line before execution --- update_from_hydra.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/update_from_hydra.py b/update_from_hydra.py index 2808df6..9f4813e 100644 --- a/update_from_hydra.py +++ b/update_from_hydra.py @@ -59,7 +59,9 @@ def cli(): exit() print("Downloading new store paths") - subprocess.run(["nix", "copy", "--from", cache_store_uri, hydra_store_path]) + nix_copy = ["nix", "copy", "--from", cache_store_uri, hydra_store_path] + print(">", *nix_copy, flush=True) + subprocess.run(nix_copy) print("Finished downloading") print("Updating path to update")