From b6fe46b3938eac1b501030bc7e80b0f2089f3927 Mon Sep 17 00:00:00 2001 From: Update Bot <update-bot@private.storage> Date: Thu, 14 Jul 2022 19:37:23 -0400 Subject: [PATCH] debug logging --- tools/update-nixpkgs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/update-nixpkgs b/tools/update-nixpkgs index 3c6832c9..12752892 100755 --- a/tools/update-nixpkgs +++ b/tools/update-nixpkgs @@ -49,7 +49,9 @@ def main(): args = parser.parse_args() repo_file = args.repo_file + print(f"reading {repo_file}") config = json.loads(repo_file.read_text()) + print(f"read {config!r}") config["url"] = get_nixos_channel_url(channel=args.channel) hash_data = get_url_hash(HASH_TYPE, name=config["name"], url=config["url"]) @@ -59,6 +61,7 @@ def main(): if args.dry_run: print(output) else: + print(f"writing to {repo_file}") repo_file.write_text(output) -- GitLab