Conversation
|
Thank you for this contribution and what I'm curious about is I see that version 0.6.9 is hard coded. And it would be really nice to have this update within the GitHub actions so this just becomes part of the release process if possible. I also see the following:
And I don't believe we have an ARM64 four build right now for Linux, so we probably should remove |
|
My apologies, I was hasty in getting this working on my own system. Feel free to critique the new changes 🫡 |
pinage404
left a comment
There was a problem hiding this comment.
It works great !
It's superfast, it's awesome !
I would love to have this upstreamed in nixpkgs
|
I tried Whisper models, when after the download, when i select the model, the app crash with this message whisper_init_from_file_with_params_no_state: loading model from '/home/pinage404/.local/share/com.pais.handy/models/whisper-medium-q4_1.bin'
whisper_init_with_params_no_state: use gpu = 1
whisper_init_with_params_no_state: flash attn = 0
whisper_init_with_params_no_state: gpu_device = 0
whisper_init_with_params_no_state: dtw = 0
terminate called after throwing an instance of 'vk::IncompatibleDriverError'
what(): vk::createInstance: ErrorIncompatibleDriver |
Provides: - handy-appimage: AppImage-based package (default) - devShell: Development environment for building from source
- 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
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.
Co-authored-by: pinage404 <pinage404@gmail.com>
Co-authored-by: pinage404 <pinage404@gmail.com>
c074f71 to
d73a2c5
Compare
|
@pinage404 @y0usaf are these changes good enough for nixos? I won't be able to validate but I will look through the code before I pull in |
|
The main feature works The feature to start Handy when the computer start doesn't work journalctl --boot | rg handy
janv. 30 12:44:43 framework-16 logrotate[1765]: considering log /var/lib/systemd/coredump/core.handy.1000.90fc79e686d440cba87508bd7db6da14.580512.1768417523000000.zst.1.1
janv. 30 12:44:43 framework-16 logrotate[1765]: considering log /var/lib/systemd/coredump/core.handy.1000.90fc79e686d440cba87508bd7db6da14.581172.1768417566000000.zst.1.1
janv. 30 12:44:43 framework-16 logrotate[1765]: considering log /var/lib/systemd/coredump/core.handy.1000.90fc79e686d440cba87508bd7db6da14.582231.1768417753000000.zst.1.1
janv. 30 12:44:43 framework-16 logrotate[1765]: considering log /var/lib/systemd/coredump/core.handy.1000.90fc79e686d440cba87508bd7db6da14.583472.1768417838000000.zst.1.1
janv. 30 12:44:43 framework-16 logrotate[1765]: considering log /var/lib/systemd/coredump/core.handy.1000.90fc79e686d440cba87508bd7db6da14.584092.1768417878000000.zst.1.1
janv. 30 12:44:43 framework-16 logrotate[1765]: considering log /var/lib/systemd/coredump/core.handy.1000.90fc79e686d440cba87508bd7db6da14.585105.1768418351000000.zst.1.1
janv. 30 12:44:58 framework-16 systemd[4406]: Starting Handy...
janv. 30 12:44:58 framework-16 handy[5594]: Could not start dynamically linked executable: /nix/store/rrrbikni1gn1xhn8k2rg2wqnjfp4a6rj-handy-appimage-unwrapped-0.7.0-extracted/usr/bin/handy
janv. 30 12:44:58 framework-16 handy[5594]: NixOS cannot run dynamically linked executables intended for generic
janv. 30 12:44:58 framework-16 handy[5594]: linux environments out of the box. For more information, see:
janv. 30 12:44:58 framework-16 handy[5594]: https://nix.dev/permalink/stub-ld
janv. 30 12:44:58 framework-16 systemd[4406]: Started Handy.
janv. 30 12:44:58 framework-16 systemd[4406]: app-Handy@autostart.service: Main process exited, code=exited, status=127/n/a
janv. 30 12:44:58 framework-16 systemd[4406]: app-Handy@autostart.service: Failed with result 'exit-code'.
janv. 30 12:48:33 framework-16 3gm4hg1vj7a6ndvhrlnh3wrbm46f9zhv-nix-gc[4524]: deleting '/nix/store/9swr07yzsl2myr33h3czpx062kmdw6f7-Handy_0.7.0_amd64.AppImage'The generated autostart entry use the full path of the executable, maybe it could just use the one present in the cat ~/.config/autostart/Handy.desktop[Desktop Entry]
Type=Application
Version=1.0
Name=Handy
Comment=Handystartup script
Exec=/nix/store/rrrbikni1gn1xhn8k2rg2wqnjfp4a6rj-handy-appimage-unwrapped-0.7.0-extracted/usr/bin/handy
StartupNotify=false
Terminal=falseThings that I expect that is a problem of the model and not of the packaging (I use Parakeet V3) The first letter of each beginning of sentences are always missing In French, the number are often ignored After downloading Whisper models, the program crashes as reported here #561 (comment) I think this can be merged and improved later |
|
I agree with the sentiment that it can be improved later, I'm using and am very happy with Handy thanks to this flake, the workflow won't be easy to test, if that breaks then I will aim to fix as needed. |
|
+1 on lgtm. Fixed autostart by hand on my pc. As for everything else - working fine in my nixos. |
|
Thank you for this contribution and all the support for NixOS! |
|
@y0usaf I try to use the branch from the main repo switching this handy = {
- url = "github:y0usaf/handy/feat/nix-flake";
+ url = "github:cjpais/handy";
inputs.nixpkgs.follows = "nixpkgs-current";
};Give this error error: hash mismatch in fixed-output derivation '/nix/store/mwadw6r3flrijqj3c2wkc0z3lz0j0vv3-Handy_0.7.1_amd64.AppImage.drv':
specified: sha256-tTswFYLCPGtMbHAb2bQMsklRiRCVXLrtu4pQC8IHdqQ=
got: sha256-7IUZZriIVmqf85O49w9tCrTKfQURuAOM+k3sKVyigFk= |
|
Probably related pipeline https://github.com/cjpais/Handy/actions/runs/21563716309/job/62131695430 |

Before Submitting This PR
Please confirm you have done the following:
Human Written Description
I use NixOS, I want to use Handy on NixOS, voila :)
Related Issues/Discussions
N/A - New feature
Community Feedback
N/A - Initial contribution for NixOS support
Testing
nix flake checkWhat's Included
handy-appimage(default): Wraps the AppImage release for NixOS compatibilitydevShell: Development environment with all dependencies for building from source