Handy/.github/workflows
Sami Ansari 6827fb51d4
Add Nix flake for NixOS support (#561)
* Add Nix flake for NixOS support

Provides:
- handy-appimage: AppImage-based package (default)
- devShell: Development environment for building from source

* fix(nix): address PR feedback for flake.nix

- Remove aarch64-linux from supportedSystems (ARM64 builds not produced)
- Read version dynamically from Cargo.toml instead of hardcoding
  This enables automated updates during GitHub releases

* chore(nix): add GitHub Actions workflow to auto-update AppImage hash

Adds a separate workflow triggered on release publication that:
- Fetches the released AppImage
- Computes the SRI hash using nix-prefetch-url
- Updates flake.nix with the new hash
- Commits and pushes changes directly

Includes retry logic for timing issues and defensive checks to verify
the hash was actually updated and skip commits if unchanged.

* Update flake.nix hash to resolve mismatch

Co-authored-by: pinage404 <pinage404@gmail.com>

* Update flake.nix to install dependencies automatically

Co-authored-by: pinage404 <pinage404@gmail.com>

* fix: update AppImage hash for v0.7.0

* modified description

---------

Co-authored-by: pinage404 <pinage404@gmail.com>
Co-authored-by: CJ Pais <cj@cjpais.com>
2026-02-01 10:32:49 +08:00
..
build-test.yml arm linux build? (#629) 2026-01-20 13:03:03 +08:00
build.yml arm linux build? (#629) 2026-01-20 13:03:03 +08:00
lint.yml Add Internationalization Support (#437) 2025-12-12 11:16:54 +07:00
pr-test-build.yml arm linux build? (#629) 2026-01-20 13:03:03 +08:00
prettier.yml fix workflow? 2025-11-30 11:28:41 +07:00
release.yml arm linux build? (#629) 2026-01-20 13:03:03 +08:00
update-flake-hash.yml Add Nix flake for NixOS support (#561) 2026-02-01 10:32:49 +08:00