mirror of
https://github.com/nix-community/nixpkgs-swh.git
synced 2025-12-31 01:40:56 +02:00
Send nixpkgs tarballs to Software Heritage [maintainer=@nlewo]
|
|
||
|---|---|---|
| .github/workflows | ||
| scripts | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| README.md | ||
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.
Locally generate files
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