Merge pull request #2218 from ghostty-org/nix-update

Update CI Runners to Ubuntu 24.04
This commit is contained in:
Mitchell Hashimoto
2024-09-11 11:43:29 -07:00
committed by GitHub
4 changed files with 15 additions and 10 deletions

View File

@ -1,5 +1,10 @@
on: [push, pull_request] on:
push: {}
pull_request: {}
workflow_dispatch: {}
name: Test name: Test
jobs: jobs:
build: build:
strategy: strategy:

View File

@ -102,12 +102,12 @@ fetch(url.href)
group_add_face( group_add_face(
group, group,
0 /* regular */, 0 /* regular */,
deferred_face_new(font_name.ptr, font_name.len, 0 /* text */) deferred_face_new(font_name.ptr, font_name.len, 0 /* text */),
); );
group_add_face( group_add_face(
group, group,
0 /* regular */, 0 /* regular */,
deferred_face_new(font_name.ptr, font_name.len, 1 /* emoji */) deferred_face_new(font_name.ptr, font_name.len, 1 /* emoji */),
); );
// Initialize our sprite font, without this we just use the browser. // Initialize our sprite font, without this we just use the browser.
@ -168,7 +168,7 @@ fetch(url.href)
group_cache, group_cache,
cp, cp,
0, 0,
-1 /* best choice */ -1 /* best choice */,
); );
group_cache_render_glyph(group_cache, font_idx, cp, -1); group_cache_render_glyph(group_cache, font_idx, cp, -1);

8
flake.lock generated
View File

@ -20,16 +20,16 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1705957679, "lastModified": 1726062281,
"narHash": "sha256-Q8LJaVZGJ9wo33wBafvZSzapYsjOaNjP/pOnSiKVGHY=", "narHash": "sha256-PyFVySdGj3enKqm8RQuo4v1KLJLmNLOq2yYOHsI6e2Q=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9a333eaa80901efe01df07eade2c16d183761fa3", "rev": "e65aa8301ba4f0ab8cb98f944c14aa9da07394f8",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "release-23.05", "ref": "release-24.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View File

@ -7,7 +7,7 @@
# We want to stay as up to date as possible but need to be careful that the # We want to stay as up to date as possible but need to be careful that the
# glibc versions used by our dependencies from Nix are compatible with the # glibc versions used by our dependencies from Nix are compatible with the
# system glibc that the user is building for. # system glibc that the user is building for.
nixpkgs-stable.url = "github:nixos/nixpkgs/release-23.05"; nixpkgs-stable.url = "github:nixos/nixpkgs/release-24.05";
zig = { zig = {
url = "github:mitchellh/zig-overlay"; url = "github:mitchellh/zig-overlay";
@ -38,7 +38,7 @@
packages.${system} = let packages.${system} = let
mkArgs = optimize: { mkArgs = optimize: {
inherit (pkgs-unstable) zig_0_13 lib; inherit (pkgs-unstable) zig_0_13;
inherit optimize; inherit optimize;
revision = self.shortRev or self.dirtyShortRev or "dirty"; revision = self.shortRev or self.dirtyShortRev or "dirty";