mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 00:54:40 +00:00
emacsPackages.treemacs: replace python3 program
This commit is contained in:
parent
0299e046b5
commit
03d1fdee87
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user