From cfb550112797ec57d97d22a91d05c09e06afa0ca Mon Sep 17 00:00:00 2001 From: Gavin John Date: Tue, 26 Aug 2025 15:47:55 -0400 Subject: [PATCH] fix: maybe using shutil.move will work better? --- ci/nur/combine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/nur/combine.py b/ci/nur/combine.py index c24794fd9..1ac02bab9 100644 --- a/ci/nur/combine.py +++ b/ci/nur/combine.py @@ -52,7 +52,7 @@ def commit_repo(repo: Repo, message: str, path: Path) -> Repo: try: shutil.copytree(repo_source(repo.name), tmp.name, symlinks=True, dirs_exist_ok=True) shutil.rmtree(repo_path, ignore_errors=True) - os.rename(tmp.name, repo_path) + shutil.move(tmp.name, repo_path) tmp = None finally: if tmp is not None: