update ghostty to temp fix version of ghostty appimage 1.2.0
This commit is contained in:
parent
c52656033c
commit
ee04009213
2 changed files with 21 additions and 7 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -2,11 +2,11 @@
|
|||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1738142207,
|
||||
"narHash": "sha256-NGqpVVxNAHwIicXpgaVqJEJWeyqzoQJ9oc8lnK9+WC4=",
|
||||
"lastModified": 1757745802,
|
||||
"narHash": "sha256-hLEO2TPj55KcUFUU1vgtHE9UEIOjRcH/4QbmfHNF820=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "9d3ae807ebd2981d593cddd0080856873139aa40",
|
||||
"rev": "c23193b943c6c689d70ee98ce3128239ed9e32d1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
22
flake.nix
22
flake.nix
|
@ -7,8 +7,13 @@
|
|||
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
upstreamVersion = "1.1.0";
|
||||
appimageVersion = "v1.1.0+1";
|
||||
# actual versions
|
||||
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";
|
||||
|
||||
mkGhostty = system:
|
||||
|
@ -21,8 +26,17 @@
|
|||
version = appimageVersion;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/psadi/ghostty-appimage/releases/download/${appimageVersion}/${appimagename}";
|
||||
hash = if system == "x86_64-linux" then "sha256-B7YH8hfsPzpjdXcUTfo3dxj8xNFL8LZnHjEzinnf7M0=" else "sha256-Obn6PfQIsHQn6y4M20tqvWfw22TvoT4jEo181KGzEQs=";
|
||||
# temporary fix for nvidia proprietary drivers
|
||||
# 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 ];
|
||||
|
|
Loading…
Add table
Reference in a new issue