Miao Wang
b866780486
Merge pull request #142 from dramforever/gc-fixes
...
nix-channels gc fixes
2024-11-29 17:43:11 +08:00
dramforever
fe4884f235
nix-channels: '...' -> b'...' when dealing with paths
2023-11-20 18:34:17 +08:00
dramforever
2fda084533
Workaround for nonexistent paths in store-paths.xz
...
Found around 2023-11, some channels have store-paths.xz with paths that
are nonexistent on cache.nixos.org.
For example, nixos-unstable has 32 paths with name
"texlive-2022-env-man" or "texlive-2022-env-info", of which 31 don't
exist on cache.nixos.org. (Checked 2023-11-20.) This is a hard error for
"nix path-info".
See https://github.com/tuna/issues/issues/1855
2023-11-20 18:06:48 +08:00
dramforever
d16a34e5a0
nix-channels: Garbage collect before updating
2022-06-25 11:04:58 +08:00
dramforever
8558ba5ad8
nix-channels: Find nar files in closure separately
...
Resolves: https://github.com/tuna/tunasync-scripts/issues/136
2022-06-25 11:03:55 +08:00
taoky
8a3bb29da2
nix-channels: fix critical bug in 793ab60
...
if binary-cache-url exists, it means that this repo has been completely downloaded, and should be considered as a candidate of "alive"
2021-01-29 13:12:53 +08:00
dramforever
793ab605f4
nix-channels: Check release is complete before GC
...
Assumes that the existence of binary-cache-url indicates that a release
is completely downloaded, because it is the last file written when in
the clone_channels function.
2021-01-28 13:17:49 +08:00
Yuxiang Zhang
09e87262db
Merge pull request #69 from dramforever/nix-race-fix
...
nix-channel: dedup paths before download
2020-05-01 18:52:42 +08:00
dramforever
9eff258f33
nix-channel: dedup paths before download
...
Could fix a race that causes FileNotFoundError
2020-05-01 18:45:20 +08:00
z4yx
d204e3aa7f
Python 3.7 compatible
2020-04-07 16:06:42 +08:00
dramforever
86950766c9
nix-channel: fix bug when getting path-info
2020-03-31 03:12:12 +08:00
dramforever
04dc6f63f6
[nix] fix the auth error
2020-03-24 19:28:50 +08:00
Yuxiang Zhang
fc9929258c
Merge pull request #62 from dramforever/nix-new
...
nix-channels and nixos-images update due to upstream change
2020-03-23 22:15:04 +08:00
dramforever
a14304c1b2
nix-channels: update
...
https://discourse.nixos.org/t/announcement-moving-nixos-org-to-netlify/6212
2020-03-23 20:33:02 +08:00
Yuxiang Zhang
d6545b1faf
Merge pull request #56 from dramforever/add-nix-channels
...
Update nix channels
2020-03-07 15:31:47 +08:00
dramforever
07e533de8f
nix-channels: Enable GC by default
2020-03-07 04:16:49 +08:00
dramforever
143744c934
nix-channels: minor fixes
2020-03-07 02:35:19 +08:00
dramforever
35c2897988
nix-channels: Avoid nix copy xz performance issue
...
Get URL from nix store-path and download using a thread pool
2020-03-07 02:25:49 +08:00
dramforever
d739c1fa5b
nix-channels: Add garbage collection
2020-03-07 00:28:56 +08:00
dramforever
730e542b48
nix-channels: Larger batch size and configurable
2020-03-06 23:32:00 +08:00
dramforever
d00613ee40
nix-channels: Fix forgetting to symlink channel
2020-03-04 22:42:45 +08:00
dramforever
924a828a6a
nix-channels: Copy paths in batches
2020-03-03 15:05:36 +08:00
dramforever
00a82c5e4e
nix-channels: Split argument list in script
2020-03-03 14:07:05 +08:00
root
81581749cf
fix perm
2020-03-02 15:32:56 +08:00
dramforever
7a75219065
nix-channels: Also download nix-cache-info
2020-01-13 20:18:02 +08:00
dramforever
cbd2e9f802
nix-channels: USTC mirror compatibility
2020-01-13 19:49:10 +08:00
dramforever
dfa3575fa5
nix-chanels: add some comments
2019-12-24 17:21:02 +08:00
dramforever
34e37262da
Add nix-channels
2019-12-24 17:13:24 +08:00