Merge pull request #255316 from sheeaza/master

Update overrides.nix, compile leaderf vim plugin
This commit is contained in:
figsoda 2023-09-19 22:33:53 -04:00 committed by GitHub
commit 48ebccddd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1633,6 +1633,17 @@ self: super: {
--replace "'zoxide_executable', 'zoxide'" "'zoxide_executable', '${zoxide}/bin/zoxide'"
'';
};
LeaderF = super.LeaderF.overrideAttrs {
buildInputs = [ python3 ];
# rm */build/ to prevent dependencies on gcc
# strip the *.so to keep files small
buildPhase = ''
patchShebangs .
./install.sh
rm autoload/leaderf/fuzzyMatch_C/build/ -r
'';
stripDebugList = [ "autoload/leaderf/python" ];
};
} // (
let