File tree Expand file tree Collapse file tree 2 files changed +8
-13
lines changed
pkgs/applications/editors/vim/plugins/non-generated/blink-cmp Expand file tree Collapse file tree 2 files changed +8
-13
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 rustPlatform ,
44 fetchFromGitHub ,
5+ fetchpatch ,
56 stdenv ,
67 vimUtils ,
78 nix-update-script ,
89 git ,
9- replaceVars ,
1010} :
1111let
1212 version = "0.13.1" ;
@@ -41,10 +41,16 @@ vimUtils.buildVimPlugin {
4141 ''
4242 mkdir -p target/release
4343 ln -s ${ blink-fuzzy-lib } /lib/libblink_cmp_fuzzy${ ext } target/release/libblink_cmp_fuzzy${ ext }
44+ echo -n "nix" > target/release/version
4445 '' ;
4546
47+ # TODO: Remove this patch when updating to next version
4648 patches = [
47- ( replaceVars ./force-version.patch { inherit ( src ) tag ; } )
49+ ( fetchpatch {
50+ name = "blink-add-bypass-for-nix.patch" ;
51+ url = "https://github.com/Saghen/blink.cmp/commit/6c83ef1ae34abd7ef9a32bfcd9595ac77b61037c.diff?full_index=1" ;
52+ hash = "sha256-304F1gDDKVI1nXRvvQ0T1xBN+kHr3jdmwMMp8CNl+GU=" ;
53+ } )
4854 ] ;
4955
5056 passthru = {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments