No description
list-versions.nix | ||
process-diff.py | ||
README.md |
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:
- Run
nix-instantiate
to get package versions from both Git revisions - Compare the versions to identify changes
- 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"; }'