Unverified Commit 2e9917ba authored by Daniel Nagy's avatar Daniel Nagy
Browse files

emacsPackages.tokei: replace program

parent 00c0a233
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -522,6 +522,13 @@ let
          '';
        });

        tokei = super.tokei.overrideAttrs (attrs: {
          postPatch = attrs.postPatch or "" + ''
            substituteInPlace tokei.el \
              --replace 'tokei-program "tokei"' 'tokei-program "${lib.getExe pkgs.tokei}"'
          '';
        });

        treemacs-magit = super.treemacs-magit.overrideAttrs (attrs: {
          # searches for Git at build time
          nativeBuildInputs =