Display nix copy command line before execution

This commit is contained in:
clerie 2023-07-21 23:29:13 +02:00
parent ffefe1fea1
commit 6ad8fb21fe
1 changed files with 3 additions and 1 deletions

View File

@ -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")