emacsPackages.zig-mode: replace program

This commit is contained in:
Daniel Nagy
2024-09-21 12:00:00 +02:00
parent 2795949808
commit f7ed0918af
@@ -539,6 +539,13 @@ let
(attrs.nativeBuildInputs or [ ]) ++ [ pkgs.git ];
});
zig-mode = super.zig-mode.overrideAttrs (attrs: {
postPatch = attrs.postPatch or "" + ''
substituteInPlace zig-mode.el \
--replace-fail 'zig-zig-bin "zig"' 'zig-zig-bin "${lib.getExe pkgs.zig}"'
'';
});
zmq = super.zmq.overrideAttrs (old: {
stripDebugList = [ "share" ];
preBuild = ''