File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
pkgs/build-support/binary-cache Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def processItem(
1616):
1717 narInfoHash = dropPrefix (item ["path" ], nixPrefix ).split ("-" )[0 ]
1818
19- narFile = outDir / "nar" / f"{ narInfoHash } { compressionExtension } "
19+ narFile = outDir / "nar" / f"{ narInfoHash } .nar { compressionExtension } "
2020 with open (narFile , "wb" ) as f :
2121 subprocess .run (
2222 f"nix-store --dump { item ['path' ]} { compressionCommand } " ,
@@ -36,7 +36,7 @@ def processItem(
3636 )
3737 fileSize = os .path .getsize (narFile )
3838
39- finalNarFileName = Path ("nar" ) / f"{ fileHash } { compressionExtension } "
39+ finalNarFileName = Path ("nar" ) / f"{ fileHash } .nar { compressionExtension } "
4040 os .rename (narFile , outDir / finalNarFileName )
4141
4242 with open (outDir / f"{ narInfoHash } .narinfo" , "wt" ) as f :
You can’t perform that action at this time.
0 commit comments