Unverified Commit f7ed0918 authored by Daniel Nagy's avatar Daniel Nagy
Browse files

emacsPackages.zig-mode: replace program

parent 27959498
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 = ''