mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
nix: fix up zig hook in package.nix
This commit is contained in:
@ -34,7 +34,7 @@
|
|||||||
# https://github.com/ziglang/zig/issues/14281#issuecomment-1624220653 is
|
# https://github.com/ziglang/zig/issues/14281#issuecomment-1624220653 is
|
||||||
# ultimately acted on and has made its way to a nixpkgs implementation, this
|
# ultimately acted on and has made its way to a nixpkgs implementation, this
|
||||||
# can probably be removed in favor of that.
|
# can probably be removed in favor of that.
|
||||||
zig012Hook = zig_0_13.hook.overrideAttrs {
|
zig_hook = zig_0_13.hook.overrideAttrs {
|
||||||
zig_default_flags = "-Dcpu=baseline -Doptimize=${optimize}";
|
zig_default_flags = "-Dcpu=baseline -Doptimize=${optimize}";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -79,7 +79,7 @@
|
|||||||
name = "ghostty-cache";
|
name = "ghostty-cache";
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
git
|
git
|
||||||
zig_0_13.hook
|
zig_hook
|
||||||
];
|
];
|
||||||
|
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
@ -117,7 +117,7 @@ in
|
|||||||
ncurses
|
ncurses
|
||||||
pandoc
|
pandoc
|
||||||
pkg-config
|
pkg-config
|
||||||
zig012Hook
|
zig_hook
|
||||||
wrapGAppsHook4
|
wrapGAppsHook4
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user