update ghostty to temp fix version of ghostty appimage 1.2.0

This commit is contained in:
Emil Lerch 2025-09-17 12:14:44 -07:00
parent c52656033c
commit ee04009213
Signed by: lobo
GPG key ID: A7B62D657EF764F8
2 changed files with 21 additions and 7 deletions

6
flake.lock generated
View file

@ -2,11 +2,11 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1738142207, "lastModified": 1757745802,
"narHash": "sha256-NGqpVVxNAHwIicXpgaVqJEJWeyqzoQJ9oc8lnK9+WC4=", "narHash": "sha256-hLEO2TPj55KcUFUU1vgtHE9UEIOjRcH/4QbmfHNF820=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9d3ae807ebd2981d593cddd0080856873139aa40", "rev": "c23193b943c6c689d70ee98ce3128239ed9e32d1",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -7,8 +7,13 @@
outputs = { self, nixpkgs }: outputs = { self, nixpkgs }:
let let
upstreamVersion = "1.1.0"; # actual versions
appimageVersion = "v1.1.0+1"; upstreamVersion = "1.2.0";
appimageVersion = "v1.2.0";
# tip is harder to get to, and looks like this:
# upstreamVersion = "1.1.4-main+b58a761";
# appimageVersion = "tip";
exename = "ghostty"; exename = "ghostty";
mkGhostty = system: mkGhostty = system:
@ -21,8 +26,17 @@
version = appimageVersion; version = appimageVersion;
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "https://github.com/psadi/ghostty-appimage/releases/download/${appimageVersion}/${appimagename}"; # temporary fix for nvidia proprietary drivers
hash = if system == "x86_64-linux" then "sha256-B7YH8hfsPzpjdXcUTfo3dxj8xNFL8LZnHjEzinnf7M0=" else "sha256-Obn6PfQIsHQn6y4M20tqvWfw22TvoT4jEo181KGzEQs="; # See https://github.com/pkgforge-dev/ghostty-appimage/pull/95
url = if system == "x86_64-linux" then
"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}";
hash = if system == "x86_64-linux" then
"sha256-E78tVBzSfoc+xZ2HKy0gAmmCwSxI+idIvZrg9wsJ4rc="
else
"sha256-3j7yGUCkvGErlYTS6njkuoSaqgKtFvNZ4/RWlx3B7Fc=";
}; };
nativeBuildInputs = [ pkgs.makeWrapper ]; nativeBuildInputs = [ pkgs.makeWrapper ];