{"id":51078552,"url":"https://github.com/manic-systems/dix","last_synced_at":"2026-06-30T06:00:52.602Z","repository":{"id":291442270,"uuid":"977527007","full_name":"manic-systems/dix","owner":"manic-systems","description":"A blazingly fast tool to diff Nix related things","archived":false,"fork":false,"pushed_at":"2026-06-16T22:55:35.000Z","size":1342,"stargazers_count":300,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-06-16T23:12:22.933Z","etag":null,"topics":["derivation","nix","nixos"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manic-systems.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-04T12:13:11.000Z","updated_at":"2026-06-16T02:31:16.000Z","dependencies_parsed_at":"2025-07-27T18:37:18.707Z","dependency_job_id":"59259458-962f-452f-b982-affa81bd3c29","html_url":"https://github.com/manic-systems/dix","commit_stats":null,"previous_names":["bloxx12/nnpdt","bloxx12/nix-diff","bloxx12/dix","faukah/dix","manic-systems/dix"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/manic-systems/dix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manic-systems%2Fdix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manic-systems%2Fdix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manic-systems%2Fdix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manic-systems%2Fdix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manic-systems","download_url":"https://codeload.github.com/manic-systems/dix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manic-systems%2Fdix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34954283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["derivation","nix","nixos"],"created_at":"2026-06-23T16:00:25.726Z","updated_at":"2026-06-30T06:00:52.596Z","avatar_url":"https://github.com/manic-systems.png","language":"Rust","funding_links":[],"categories":["Command-Line Tools"],"sub_categories":[],"readme":"# Diff Nix\n\nA blazingly fast tool to diff Nix related things.\n\nCurrently only supports closures (a derivation graph, such as a system build or\npackage).\n\n![output of `dix /nix/var/nix/profiles/system-69-link/ /run/current-system`](.github/dix.png)\n\n## Usage\n```bash\n$ dix --help\nDiff Nix\n\nUsage: dix [OPTIONS] \u003cOLD_PATH\u003e \u003cNEW_PATH\u003e\n\nArguments:\n  \u003cOLD_PATH\u003e\n\n\n  \u003cNEW_PATH\u003e\n\n\nOptions:\n  -v, --verbose...\n          Increase logging verbosity\n\n  -q, --quiet...\n          Decrease logging verbosity\n\n      --color \u003cWHEN\u003e\n          Controls when to use color\n\n          [default: auto]\n          [possible values: auto, always, never]\n\n      --force-correctness\n          Fall back to a backend chain that skips SQLite immutable mode.\n\n          This is relevant if the output of dix is to be used for more critical applications and not just as human-readable overview.\n\n          The default backend falls back to opening Nix's SQLite database with `?immutable=1` if the normal connection fails. That is faster than Nix commands, but can be inaccurate if the database is being written to at the same time.\n\n      --output \u003cOUTPUT\u003e\n          Select the output format to use\n\n          Possible values:\n          - human: Output in the default dix format highlighting version changes\n          - json:  Display the output as JSON for machine parsing (requires `json` feature)\n\n          [default: human]\n\n  -h, --help\n          Print help (see a summary with '-h')\n\n  -V, --version\n          Print version\n\n$ dix /nix/var/profiles/system-69-link /run/current-system\n```\n\n# Usage in CI\n\nIf you're planning on using dix in CI, you might want to set the\n`--force-correctness` flag to ensure that the results are definitely accurate.\\\nDix will fall back to a connection using `?immutable=1` to Nix's SQLite database\nif it fails connecting normally; This can however result in inaccurate output if\nthe database is being written to at the same time.\\\nPassing `--force-correctness` will make dix fall back to Nix commands if\nconnection to the database fails, which ensures correct output, potentially at\nthe cost of speed.\n\n## Releasing\n\n`dix-diff` is a separate crate because it owns the pure package/version diff\nengine. Publish it before publishing `dix`; the `dix` package depends on the\nsame exact `dix-diff` version.\n\n```sh\ncargo publish -p dix-diff\ncargo publish -p dix\n```\n\n## Contributing\n\nIf you have any problems, feature requests or want to contribute code or want to\nprovide input in some other way, feel free to create an issue or a pull request!\n\n## Thanks\n\nHuge thanks to [nvd](https://git.sr.ht/~khumba/nvd) for the original idea! Dix\nis heavily inspired by this and basically just a \"Rewrite it in Rust\" version of\nnvd, with a few things like version diffing done better.\n\nFurthermore, many thanks to the amazing people who made this projects possible\nby contributing code and offering advice:\n\n- [@Dragyx](https://github.com/Dragyx) - Cool SQL queries. Much of dix's speed\n  is thanks to him.\n- [@NotAShelf](https://github.com/NotAShelf) - Implementing proper error\n  handling.\n- [@RGBCube](https://github.com/RGBCube) - Giving the codebase a deep scrub.\n\n## License\n\nDix is licensed under [GPLv3](LICENSE.md). See the license file for more\ndetails.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanic-systems%2Fdix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanic-systems%2Fdix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanic-systems%2Fdix/lists"}