forked from the-distro/channel-scripts
6883275653
For example, https://cache.nixos.org/5q3s4vfwwd9n9499yg11ydziwxgn644m.ls.xz contains the string "bokm<E5>l.alias". This causes nlohmann::json to barf. |
||
---|---|---|
default.nix | ||
delete-binary-cache-garbage.pl | ||
delete-old-releases.sh | ||
find-binary-cache-garbage.pl | ||
generate-programs-index.cc | ||
mirror-channel.pl | ||
mirror-nixos-branch.pl | ||
print-dead-files.pl | ||
README.md | ||
sign-binary-cache.pl |
Building
$ nix-build
Running
$ ./result/bin/mirror-nixos-branch nixos-16.03-small https://hydra.nixos.org/job/nixos/release-16.03-small/tested/latest-finished
$ ./result/bin/mirror-nixos-branch nixos-unstable-small https://hydra.nixos.org/job/nixos/unstable-small/tested/latest-finished
$ ./result/bin/generate-programs-index /data/releases/nixos-files.sqlite ./programs.sqlite http://nix-cache.s3.amazonaws.com/ /data/releases/nixos/unstable-small/nixos-16.09pre89017.9db1990-tmp/store-paths /data/releases/nixos/unstable-small/nixos-16.09pre89017.9db1990-tmp/unpack/nixos-16.09pre89017.9db1990/nixpkgs