emacsPackages.tokei: replace program
This commit is contained in:
parent
00c0a2333f
commit
2e9917baa1
1 changed files with 7 additions and 0 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue