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

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