1 KiB
1 KiB
Nix flake for Ghostty AppImage
Uses Ghostty app image
I do not believe this flake will work on NixOS proper. Appimages use a wrapper there that do not work outside of NixOS.
Updating the flake for new AppImage releases
-
Update
upstreamVersionandappimageVersioninflake.nix(e.g."1.3.0"and"v1.3.0"). -
Get the new SRI hashes for each architecture:
# x86_64
nix-prefetch-url --type sha256 \
"https://github.com/psadi/ghostty-appimage/releases/download/v<VERSION>/Ghostty-<VERSION>-x86_64.AppImage" \
| xargs nix hash convert --hash-algo sha256 --to sri
# aarch64
nix-prefetch-url --type sha256 \
"https://github.com/psadi/ghostty-appimage/releases/download/v<VERSION>/Ghostty-<VERSION>-aarch64.AppImage" \
| xargs nix hash convert --hash-algo sha256 --to sri
- Replace the corresponding
hashvalues inflake.nixwith the output from the commands above.