Skip to content

Commit 4e7b240

Browse files
committed
switch to staging-next for Gnome 49 support
1 parent a3d9cc6 commit 4e7b240

File tree

6 files changed

+24
-16
lines changed

6 files changed

+24
-16
lines changed

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pub fn build(b: *std.Build) !void {
7777
translate_gir_run.addArg("Gio-2.0");
7878
translate_gir_run.addArg("Gsk-4.0");
7979
translate_gir_run.addArg("Gtk-4.0");
80-
translate_gir_run.addArg("Nautilus-4.0");
80+
translate_gir_run.addArg("Nautilus-4.1");
8181
translate_gir_run.addArg("Panel-1");
8282
translate_gir_run.addArg("Pango-1.0");
8383
translate_gir_run.addArg("Rsvg-2.0");

build.zig.zon

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
.{
22
.name = .ghostty_gobject,
33

4-
.version = "0.6.0",
4+
.version = "0.7.0",
55

66
.fingerprint = 0xfd1e6c3df1b84d9d,
77

88
.minimum_zig_version = "0.14.1",
99

1010
.dependencies = .{
1111
.gobject_codegen = .{
12-
.url = "https://github.com/ianprime0509/zig-gobject/archive/05a0439fc61b8d3746ce2d30ec65cd3e2fdc907d.tar.gz",
13-
.hash = "gobject_codegen-0.3.0-B33qzaJIBwDg1eZ56L-ZjDbI6lapI28CCMXEFhDKpz2P",
12+
.url = "https://github.com/ianprime0509/zig-gobject/archive/e5795f47d5dca9540d952c22625dbb4924d6915a.tar.gz",
13+
.hash = "gobject_codegen-0.3.0-B33qzQhGBwConuGVhjM7_vBkpmcxzWNGLxx1D-3psi1Y",
1414
},
1515
},
1616

build.zig.zon.nix

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,16 @@ let
4747
url_without_query = builtins.elemAt (lib.splitString "?" url_base) 0;
4848
rev_base = builtins.elemAt parts 1;
4949
rev =
50-
if builtins.match "^[a-fA-F0-9]{40}$" rev_base != null then rev_base else "refs/heads/${rev_base}";
50+
if builtins.match "^[a-fA-F0-9]{40}$" rev_base != null then
51+
rev_base
52+
else
53+
"refs/heads/${rev_base}";
5154
in
5255
fetchgit {
5356
inherit name rev hash;
5457
url = url_without_query;
5558
deepClone = false;
59+
fetchSubmodules = false;
5660
};
5761

5862
fetchZigArtifact =
@@ -88,11 +92,11 @@ let
8892
in
8993
linkFarm name [
9094
{
91-
name = "gobject_codegen-0.3.0-B33qzaJIBwDg1eZ56L-ZjDbI6lapI28CCMXEFhDKpz2P";
95+
name = "gobject_codegen-0.3.0-B33qzQhGBwConuGVhjM7_vBkpmcxzWNGLxx1D-3psi1Y";
9296
path = fetchZigArtifact {
9397
name = "gobject_codegen";
94-
url = "https://github.com/ianprime0509/zig-gobject/archive/05a0439fc61b8d3746ce2d30ec65cd3e2fdc907d.tar.gz";
95-
hash = "sha256-zoqXGruGfNmbUdK2nifc6YBd34l398SlOKFfkeMaWuE=";
98+
url = "https://github.com/ianprime0509/zig-gobject/archive/e5795f47d5dca9540d952c22625dbb4924d6915a.tar.gz";
99+
hash = "sha256-k4q+h8jS/ZOz9wpvfn8+coUwzH1WTeFv6NoposcD6oM=";
96100
};
97101
}
98102
{

flake.lock

Lines changed: 10 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
inputs = {
55
nixpkgs = {
6-
url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz";
6+
# url = "https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz";
7+
url = "github:NixOS/nixpkgs/staging-next";
78
};
89
zon2nix = {
910
url = "github:jcollie/zon2nix?ref=728e15a05e8f48765a64f74d5720ec0a2567fe95";
File renamed without changes.

0 commit comments

Comments
 (0)