emacsPackages.treemacs: replace python3 program

This commit is contained in:
Alan Pearce 2024-12-12 16:11:24 +01:00
parent 0299e046b5
commit 03d1fdee87

View File

@ -550,6 +550,13 @@ let
'';
});
treemacs = super.treemacs.overrideAttrs (attrs: {
postPatch = (attrs.postPatch or "") + ''
substituteInPlace src/elisp/treemacs-customization.el \
--replace 'treemacs-python-executable (treemacs--find-python3)' 'treemacs-python-executable "${lib.getExe pkgs.python3}"'
'';
});
treemacs-magit = super.treemacs-magit.overrideAttrs (attrs: {
# searches for Git at build time
nativeBuildInputs =