This repository contains scripts to generate a
sources.json
file ingested by Software
Heritage. This file contains the
URL of tarballs required to build
Nixpkgs. The nix-community
Buildkite CI generates it each day by picking a Nixpkgs commit built
by Hydra.
A basic analysis of this file is also generated and published here.
To generate files for the nixpkgs.hello
nixpkgs subset, run nix run .#nixpkgs-swh-generate -- --testing /tmp/swh unstable
. This is mainly
used to debugging purposes.
If you have a lot of memory and time, to generate files for the whole nixpkgs:
nix run .#nixpkgs-swh-generate -- /tmp/swh unstable