emacsPackages.tokei: replace program

This commit is contained in:
Daniel Nagy 2023-04-21 10:45:00 +02:00
parent 00c0a2333f
commit 2e9917baa1
No known key found for this signature in database
GPG key ID: 1B8E8DCB576FB671

View file

@ -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 =