Unverified Commit d57df969 authored by Lin Jian's avatar Lin Jian Committed by GitHub
Browse files

emacsPackages.zig-mode: replace program (#343470)

parents 789562ca f7ed0918
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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 = ''