No description
Find a file
2025-09-21 19:55:23 +05:30
list-versions.nix fix: use a hard-coded system for eval 2025-09-21 19:54:44 +05:30
process-diff.py feat: generate version JSONs directly 2025-09-20 21:40:37 +05:30
README.md chore: disclose vibecoding 2025-09-21 19:55:23 +05:30

nixpkgs-diff

Some AI-generated tooling to diff nixpkgs checkouts and figure out what packages actually changed.

Usage

# Compare package versions between two Git revisions
python process-diff.py --pre "35652a6f08d1116460288cdf134d4fbd63a6d005" --post "abc123def456ghi789jkl012mno345pqr678stu"

The script will:

  1. Run nix-instantiate to get package versions from both Git revisions
  2. Compare the versions to identify changes
  3. Output a Markdown table showing the differences

Example output

| Package | Previous Version | New Version | Changed |
| ------- | ---------------- | ----------- | ------- |
| firefox | 91.0 | 92.0 | **Yes** |
| git | 2.33.0 | 2.33.1 | **Yes** |

> **Note:** 2 packages changed out of 12000 total packages in nixpkgs.

Advanced Usage

If you need to manually generate the version data files, you can use:

nix-instantiate --eval --strict --json --expr 'import ./list-versions.nix { srcRev = "COMMIT_HASH"; }'