forked from the-distro/channel-scripts
3ed896a90e
Flake lock file updates: • Updated input 'nix': 'github:NixOS/nix/1ab9da915422405452118ebb17b88cdfc90b1e10' (2020-07-07) → 'github:NixOS/nix/c8e8eea95e6d235ba0120bda5a8ff87b97f3e5a7' (2022-09-08) • Added input 'nix/lowdown-src': 'github:kristapsdz/lowdown/d2c2b44ff6c27b936ec27358a2653caaef8f73b8' (2021-10-06) • Updated input 'nix/nixpkgs': 'github:NixOS/nixpkgs/70717a337f7ae4e486ba71a500367cad697e5f09' (2020-06-08) → 'github:NixOS/nixpkgs/365e1b3a859281cf11b94f87231adeabbdd878a2' (2022-07-13) • Added input 'nix/nixpkgs-regression': 'github:NixOS/nixpkgs/215d4d0fd80ca5163643b03a33fde804a29cc1e2' (2022-01-24) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/c9d124e39dbeefc53c7b3e09fbfc2c26bcbd4845' (2020-07-07) → follows 'nix/nixpkgs' |
||
---|---|---|
.gitignore | ||
default.nix | ||
delete-binary-cache-garbage.pl | ||
delete-old-releases.sh | ||
file-cache.hh | ||
find-binary-cache-garbage.pl | ||
flake.lock | ||
flake.nix | ||
generate-programs-index.cc | ||
index-debuginfo.cc | ||
mirror-nixos-branch.pl | ||
print-dead-files.pl | ||
README.md | ||
shell.nix | ||
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