12 releases (stable)

Uses new Rust 2024

1.4.2 Jan 31, 2026
1.4.1 Jan 24, 2026
1.3.0 Aug 31, 2025
1.2.2 Jul 27, 2025
0.1.2 May 13, 2025

#400 in Database interfaces

Download history 165/week @ 2025-10-22 99/week @ 2025-10-29 9/week @ 2025-11-05 143/week @ 2025-11-12 131/week @ 2025-11-19 106/week @ 2025-11-26 59/week @ 2025-12-03 5/week @ 2025-12-17 44/week @ 2025-12-24 160/week @ 2025-12-31 79/week @ 2026-01-07 13/week @ 2026-01-14 104/week @ 2026-01-21 76/week @ 2026-01-28 51/week @ 2026-02-04

244 downloads per month

GPL-3.0-only

115KB
2K SLoC

Diff Nix

A blazingly fast tool to diff Nix related things.

Currently only supports closures (a derivation graph, such as a system build or package).

output of dix /nix/var/nix/profiles/system-69-link/ /run/current-system

Usage

$ dix --help

Diff Nix

Usage: dix [OPTIONS] <OLD_PATH> <NEW_PATH>

Arguments:
  <OLD_PATH>  
  <NEW_PATH>  

Options:
  -v, --verbose...  Increase logging verbosity
  -q, --quiet...    Decrease logging verbosity
  -h, --help        Print help
  -V, --version     Print version

$ dix /nix/var/profiles/system-69-link /run/current-system

Contributing

If you have any problems, feature requests or want to contribute code or want to provide input in some other way, feel free to create an issue or a pull request!

Thanks

Huge thanks to nvd for the original idea! Dix is heavily inspired by this and basically just a "Rewrite it in Rust" version of nvd, with a few things like version diffing done better.

Furthermore, many thanks to the amazing people who made this projects possible by contributing code and offering advice:

  • @Dragyx - Cool SQL queries. Much of dix's speed is thanks to him.
  • @NotAShelf - Implementing proper error handling.
  • @RGBCube - Giving the codebase a deep scrub.

License

Dix is licensed under GPLv3. See the license file for more details.

Dependencies

~35MB
~647K SLoC