forked from the-distro/channel-scripts
Samuel Dionne-Riel
0effeee537
``` error: [json.exception.parse_error.101] parse error at 195: syntax error - invalid string: ill-formed UTF-8 byte; last read: '"bokml'; expected string literal ``` This is most probably caused by the upgrade in nixos-org-configurations/1b74e019b166d37a1510a99aeea86a0fa656854a that, in turn, caused nlohmann_json to go from 2.1.0 -> 3.2.0 I haven't found concrete evidence in the changelog as to a change changing the exception type. Though, the timing for failures matches with this update. Furthermore, once this fix is applied, launching the update locally works fine. |
||
---|---|---|
default.nix | ||
delete-binary-cache-garbage.pl | ||
delete-old-releases.sh | ||
file-cache.hh | ||
find-binary-cache-garbage.pl | ||
generate-programs-index.cc | ||
index-debuginfo.cc | ||
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