Channel scripts for ForkOS
Find a file
raito 542a3ae836 feat(*): init Rust port
This is a Rust port of the original Perl script, legacy cruft is removed
and it focuses on a modern Hydra deployment.

Nonetheless, it knows how to perform migrations based on the channel
versions.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-08-31 18:06:46 +02:00
src feat(*): init Rust port 2024-08-31 18:06:46 +02:00
.gitignore feat(*): init Rust port 2024-08-31 18:06:46 +02:00
Cargo.lock feat(*): init Rust port 2024-08-31 18:06:46 +02:00
Cargo.nix feat(*): init Rust port 2024-08-31 18:06:46 +02:00
Cargo.toml feat(*): init Rust port 2024-08-31 18:06:46 +02:00
crate-hashes.json feat(*): init Rust port 2024-08-31 18:06:46 +02:00
default.nix feat(*): init Rust port 2024-08-31 18:06:46 +02:00
flake.lock flake.lock: Update 2024-06-07 15:05:34 +02:00
flake.nix feat(*): init Rust port 2024-08-31 18:06:46 +02:00
forkos.toml feat(*): init Rust port 2024-08-31 18:06:46 +02:00
index-debuginfo.cc index-debuginfo: support building with Nix >= 2.19 2024-02-21 00:26:10 +01:00
mirror-nixos-branch.pl Ship Plasma 6 ISOs 2024-05-20 19:00:05 +03:00
nix-index-https.patch fix: use unwrapped nix-index, patch it for https (for now) 2024-04-17 11:10:51 +03:00
README.md Store releases in S3 2016-09-26 18:06:51 +02:00

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