From 18a6f1402ff7f9f9dae77e3bd7be2b8d5cc2ead4 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Thu, 29 Oct 2026 23:44:06 -0700 Subject: [PATCH] ghostty 1.4 --- README.md | 8 ++++---- flake.nix | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 86d2b8d..6aa05ce 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Nix flake for Ghostty AppImage ============================== -Uses [Ghostty app image](https://github.com/psadi/ghostty-appimage) +Uses [Ghostty app image](https://github.com/pkgforge-dev/ghostty-appimage) I do not believe this flake will work on NixOS proper. Appimages use a wrapper there that do not work outside of NixOS. @@ -9,19 +9,19 @@ there that do not work outside of NixOS. Updating the flake for new AppImage releases --------------------------------------------- -1. Update `upstreamVersion` and `appimageVersion` in `flake.nix` (e.g. `"1.3.0"` and `"v1.3.0"`). +1. Update `upstreamVersion` and `appimageVersion` in `flake.nix` (e.g. `"1.4.0"` and `"v1.4.0"`). 2. Get the new SRI hashes for each architecture: ```bash # x86_64 nix-prefetch-url --type sha256 \ - "https://github.com/psadi/ghostty-appimage/releases/download/v/Ghostty--x86_64.AppImage" \ + "https://github.com/pkgforge-dev/ghostty-appimage/releases/download/v/Ghostty--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/Ghostty--aarch64.AppImage" \ + "https://github.com/pkgforge-dev/ghostty-appimage/releases/download/v/Ghostty--aarch64.AppImage" \ | xargs nix hash convert --hash-algo sha256 --to sri ``` diff --git a/flake.nix b/flake.nix index 1245428..c47b40d 100644 --- a/flake.nix +++ b/flake.nix @@ -8,8 +8,8 @@ outputs = { self, nixpkgs }: let # actual versions - upstreamVersion = "1.3.0"; - appimageVersion = "v1.3.0"; + upstreamVersion = "1.4.0"; + appimageVersion = "v1.4.0"; # tip is harder to get to, and looks like this: # upstreamVersion = "1.1.4-main+b58a761"; @@ -32,11 +32,11 @@ # "https://git.lerch.org/api/packages/lobo/generic/ghostty-appimage/1.2.0/Ghostty-1.2.0-x86_64.AppImage" # else # "https://git.lerch.org/api/packages/lobo/generic/ghostty-appimage/1.2.0/Ghostty-1.2.0-aarch64.AppImage"; - url = "https://github.com/psadi/ghostty-appimage/releases/download/${appimageVersion}/${appimagename}"; + url = "https://github.com/pkgforge-dev/ghostty-appimage/releases/download/${appimageVersion}/${appimagename}"; hash = if system == "x86_64-linux" then - "sha256-+SSYIGNmkN1HR7zX6ysILUGhweY6aVanoTDEAeldIr8=" + "sha256-UK1Pi1SgHn1BQm59Ev+unIiqHFFqwUB1XivKWW4dKuY=" else - "sha256-S+ojUZxmNvJaAFcGOXLRO18wPkUKiY45tQBX0bEEPIE="; + "sha256-ky4hxnHCFeYUBjMCestOhwXO8zd9M1ICIRwy2Itb9QY="; }; nativeBuildInputs = [ pkgs.makeWrapper ];