mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-07-01 07:22:45 +00:00
Merge remote-tracking branch 'origin/heads/nix-channels-texlive-workaround'
This commit is contained in:
commit
e23b6e106c
@ -294,6 +294,14 @@ def update_channels(channels):
|
||||
seen_paths = set()
|
||||
channel_failure = False
|
||||
|
||||
# Workaround to temporarily fix https://github.com/tuna/issues/issues/1855
|
||||
paths = [
|
||||
path
|
||||
for path in paths
|
||||
if b'texlive-2022-env-man' not in path
|
||||
and b'texlive-2022-env-info' not in path
|
||||
]
|
||||
|
||||
# Batch paths to avoid E2BIG
|
||||
|
||||
for i in range(0, len(paths), PATH_BATCH):
|
||||
@ -397,6 +405,14 @@ def garbage_collect():
|
||||
with lzma.open(str(release / 'store-paths.xz')) as f:
|
||||
paths = [ path.rstrip() for path in f ]
|
||||
|
||||
# Workaround to temporarily fix https://github.com/tuna/issues/issues/1855
|
||||
paths = [
|
||||
path
|
||||
for path in paths
|
||||
if b'texlive-2022-env-man' not in path
|
||||
and b'texlive-2022-env-info' not in path
|
||||
]
|
||||
|
||||
for i in range(0, len(paths), PATH_BATCH):
|
||||
batch = paths[i : i + PATH_BATCH]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user