mirror of
https://github.com/nix-community/nixpkgs-swh.git
synced 2026-02-27 21:05:23 +02:00
Send nixpkgs tarballs to Software Heritage [maintainer=@nlewo]
- Nix 40.2%
- Python 37.2%
- Shell 22.6%
|
|
||
|---|---|---|
| .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