nix: update to zig 0.13

This commit is contained in:
Mitchell Hashimoto
2024-06-23 21:55:57 -07:00
parent ac0550e267
commit c1ead2e2f1

View File

@ -22,7 +22,7 @@
git,
ncurses,
pkg-config,
zig_0_12,
zig_0_13,
pandoc,
revision ? "dirty",
optimize ? "Debug",
@ -34,7 +34,7 @@
# https://github.com/ziglang/zig/issues/14281#issuecomment-1624220653 is
# ultimately acted on and has made its way to a nixpkgs implementation, this
# can probably be removed in favor of that.
zig012Hook = zig_0_12.hook.overrideAttrs {
zig012Hook = zig_0_13.hook.overrideAttrs {
zig_default_flags = "-Dcpu=baseline -Doptimize=${optimize}";
};
@ -79,7 +79,7 @@
name = "ghostty-cache";
nativeBuildInputs = [
git
zig_0_12.hook
zig_0_13.hook
];
dontConfigure = true;