Skip to content

feat(nix): add Nix flake for desktop app#13

Open
wanderer wants to merge 1 commit into
offendingcommit:mainfrom
wanderer:feat/add-nix-flake
Open

feat(nix): add Nix flake for desktop app#13
wanderer wants to merge 1 commit into
offendingcommit:mainfrom
wanderer:feat/add-nix-flake

Conversation

@wanderer
Copy link
Copy Markdown

Summary

  • Adds a Nix flake that builds the Tauri v2 desktop app
  • Uses the canonical nixpkgs pattern: cargo-tauri.hook + fetchPnpmDeps + pnpmConfigHook
  • Builds the pnpm monorepo frontend, then the Tauri Rust binary with embedded frontend assets

Usage

nix build           # build the package
nix run             # run OpenConcho

Tested

  • Verified build succeeds on x86_64-linux (nixpkgs-unstable)
  • Produces binary, .desktop file, and app icons

Add a Nix flake that builds the Tauri v2 desktop app using
cargo-tauri.hook with fetchPnpmDeps + pnpmConfigHook for the
pnpm monorepo build.

Usage:
  nix build           # build the package
  nix run             # run OpenConcho
  nix develop         # enter dev shell
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.

1 participant