Handy/.github
Sami Ansari c34e7d584b
fix(nix): build from source instead of wrapping AppImage (#778)
* fix(nix): build from source instead of wrapping AppImage (#701)

Replace the AppImage-based Nix package with a native from-source build
using cargo-tauri.hook + rustPlatform.buildRustPackage. This eliminates
the recurring hash mismatch failures when releases update the binary.

- Build frontend (bun) and backend (cargo tauri) from source
- Vendor JS deps as a fixed-output derivation
- Patch libappindicator-sys for Nix store path
- Patch ferrous-opencc to skip cbindgen (upstream removed in v0.3.1+)
- Wrap binary with WEBKIT_DISABLE_DMABUF_RENDERER and LD_LIBRARY_PATH
- Delete update-flake-hash.yml workflow (no longer needed)
- devShell unchanged

* add support for arm64

---------

Co-authored-by: CJ Pais <cj@cjpais.com>
2026-02-11 08:47:39 +08:00
..
ISSUE_TEMPLATE Delete feature_request.md 2026-02-05 14:26:27 +08:00
workflows fix(nix): build from source instead of wrapping AppImage (#778) 2026-02-11 08:47:39 +08:00
FUNDING.yml Update FUNDING.yml 2026-01-07 14:17:05 +08:00
PULL_REQUEST_TEMPLATE.md PR template: Update link to CONTRIBUTING.md (#643) 2026-01-22 07:35:44 +08:00