Channel scripts for ForkOS
Find a file
Eelco Dolstra 7ec2d94303
flake.lock: Update
Flake input changes:

* Updated 'nix': 'github:NixOS/nix/73769b28e376cf1fb3e7248bafaa17c35527925d' -> 'github:NixOS/nix/3aaceeb7e2d3fb8a07a1aa5a21df1dca6bbaa0ef'
* Updated 'nix/nixpkgs': 'github:edolstra/nixpkgs/43e283790fbe330b723ac44b584824cf6d85c1ee' -> 'github:NixOS/nixpkgs/b88ff468e9850410070d4e0ccd68c7011f15b2be'
* Updated 'nixpkgs': 'github:edolstra/nixpkgs/54a27fb2fc5fbd8927f9f6dc77fe1de1faa05266' -> 'github:NixOS/nixpkgs/29eddfc36d720dcc4822581175217543b387b1e8'
2020-04-09 17:27:41 +02:00
.gitignore Add .gitignore for result 2020-03-24 19:58:47 -04:00
default.nix Add flake-compat default.nix/shell.nix 2020-03-24 19:59:10 -04:00
delete-binary-cache-garbage.pl Scripts for deleting garbage from the binary cache 2015-06-03 16:23:16 +02:00
delete-old-releases.sh * Clean up small releases. 2014-12-09 12:42:06 +00:00
file-cache.hh file-cache: use the right exception type for parse error 2019-01-30 20:56:40 -05:00
find-binary-cache-garbage.pl Scripts for deleting garbage from the binary cache 2015-06-03 16:23:16 +02:00
flake.lock flake.lock: Update 2020-04-09 17:27:41 +02:00
flake.nix flake.lock: Update 2020-04-09 17:27:41 +02:00
generate-programs-index.cc Use nix-master 2019-12-30 21:51:21 +01:00
index-debuginfo.cc Use nix-master 2019-12-30 21:51:21 +01:00
mirror-nixos-branch.pl mirror: Add content-type and content-encoding for .json.br 2020-03-25 15:40:00 -04:00
print-dead-files.pl * Handle .nar.xz. 2013-06-17 02:15:49 +00:00
README.md Store releases in S3 2016-09-26 18:06:51 +02:00
shell.nix Add flake-compat default.nix/shell.nix 2020-03-24 19:59:10 -04:00
sign-binary-cache.pl Script for signing existing .narinfo files in a binary cache 2015-06-03 16:23:36 +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