try to log content of flake substitutes

This commit is contained in:
Jörg Thalheim
2024-08-15 17:43:57 +02:00
parent b8fe60a4f7
commit bc1c7c748f

View File

@@ -40,6 +40,9 @@ def substitute(
line = line.replace("__CLAN_SOPS_KEY_PATH__", sops_key) line = line.replace("__CLAN_SOPS_KEY_PATH__", sops_key)
line = line.replace("__CLAN_SOPS_KEY_DIR__", str(flake)) line = line.replace("__CLAN_SOPS_KEY_DIR__", str(flake))
buf += line buf += line
print(f"file: {file}")
print(f"clan_core: {clan_core_flake}")
print(f"flake: {flake}")
file.write_text(buf) file.write_text(buf)