Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pull/169/head'
Browse files Browse the repository at this point in the history
  • Loading branch information
shankerwangmiao committed Nov 20, 2023
2 parents 8e5fadf + 2fda084 commit 4e4395c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions nix-channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 'texlive-2022-env-man' not in path
and 'texlive-2022-env-info' not in path
]

# Batch paths to avoid E2BIG

for i in range(0, len(paths), PATH_BATCH):
Expand Down Expand Up @@ -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 'texlive-2022-env-man' not in path
and 'texlive-2022-env-info' not in path
]

for i in range(0, len(paths), PATH_BATCH):
batch = paths[i : i + PATH_BATCH]

Expand Down

0 comments on commit 4e4395c

Please sign in to comment.