From e642d1feb7fad998c750028f0ad90cb9031c631a Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Wed, 22 Jan 2025 18:02:04 -0800 Subject: [PATCH] Update pkgs/build-support/binary-cache/make-binary-cache.py Co-authored-by: Philip Taron --- pkgs/build-support/binary-cache/make-binary-cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/binary-cache/make-binary-cache.py b/pkgs/build-support/binary-cache/make-binary-cache.py index fcb9dd562aa23..c644716191645 100644 --- a/pkgs/build-support/binary-cache/make-binary-cache.py +++ b/pkgs/build-support/binary-cache/make-binary-cache.py @@ -34,7 +34,7 @@ def processItem(item, nixPrefix, outDir): ) fileSize = os.path.getsize(xzFile) - finalXzFile = "nar/" + fileHash + ".nar.xz" + finalXzFile = f"nar/{fileHash}.nar.xz" os.rename(xzFile, finalXzFile) with open(narInfoHash + ".narinfo", "w") as f: