Unverified Commit 48ebccdd authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #255316 from sheeaza/master

Update overrides.nix, compile leaderf vim plugin
parents ef0fd06d 16cb9380
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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