Skip to content

build(nix): package CLI and desktop app as a nix flake - #8

Merged
jamesaphoenix merged 3 commits into
jamesaphoenix:mainfrom
jakob1379:feat/nix-packaging
Aug 26, 2026
Merged

build(nix): package CLI and desktop app as a nix flake#8
jamesaphoenix merged 3 commits into
jamesaphoenix:mainfrom
jakob1379:feat/nix-packaging

Conversation

@jakob1379

Copy link
Copy Markdown
Contributor

Adds flake.nix + default.nix packaging the workspace as a single derivation: diffcore CLI and the Tauri desktop app (nix run .#cli|desktop), plus a dev shell with sccache/mold. Pins libgit2 1.9.6 (nixpkgs has 1.9.4; libgit2-sys 0.18.7 would silently vendor the bundled copy). Full test suite runs in the check phase (2191 tests). The new web mode isn't packaged yet, it's feature-exclusive with desktop, so it needs a second derivation (follow-up).

…merge

Upstream's diffcore-tauri now defines custom-protocol itself (implying
desktop); the branch's own [features] block became a duplicate TOML
table, which cargo rejects. The web feature is mutually exclusive with
desktop, so the package keeps building CLI + desktop only.
@jamesaphoenix

Copy link
Copy Markdown
Owner

Merging in!

@jamesaphoenix
jamesaphoenix merged commit 4eedd10 into jamesaphoenix:main Aug 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants