Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

dix

> 编程语言
Open source

A blazingly fast tool to diff Nix related things

328 stars0 likes0 views
WebsiteGitHub

About

A blazingly fast tool to diff Nix related things

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).

Usage

…

Usage in CI

If you're planning on using dix in CI, you might want to set the --force-correctness flag to ensure that the results are definitely accurate.
Dix will fall back to a connection using ?immutable=1 to Nix's SQLite database if it fails connecting normally; This can however result in inaccurate output if the database is being written to at the same time.
Passing --force-correctness will make dix fall back to Nix commands if connection to the database fails, which ensures correct output, potentially at the cost of speed.

Releasing

dix-diff is a separate crate because it owns the pure package/version diff engine. Publish it before publishing dix; the dix package depends on the same exact dix-diff version.

bash
cargo publish -p dix-diff
cargo publish -p dix

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.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustderivationnixnixos

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言