add patch fixing zig build --watch

This commit is contained in:
xunuwu 2025-06-24 00:25:08 +02:00
parent a49a5689b5
commit c62b2d7d21
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
2 changed files with 233 additions and 1 deletions

View file

@ -1,3 +1,8 @@
{pkgs, ...}: {
home.packages = with pkgs; [zig zls];
home.packages = let
zig_patched = pkgs.zig.overrideAttrs {patches = [./__zig_watch.patch];};
in [
zig_patched
(pkgs.zls.override {zig_0_14 = zig_patched;})
];
}