mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-02-20 18:38:12 +00:00
blink: move package into module
This commit is contained in:
parent
0f02ec54cf
commit
bb9e508da2
3 changed files with 1 additions and 9 deletions
|
@ -6,7 +6,6 @@
|
|||
...
|
||||
}: let
|
||||
docs = import ../docs {inherit pkgs inputs lib;};
|
||||
pluginVersion = src: src.shortRev or src.shortDirtyRev or "dirty";
|
||||
in {
|
||||
packages = {
|
||||
inherit (docs.manual) htmlOpenTool;
|
||||
|
@ -67,12 +66,6 @@
|
|||
Volumes = {"/home/neovim/demo" = {};};
|
||||
};
|
||||
};
|
||||
|
||||
# Plugins that need compiling
|
||||
blink-cmp = pkgs.callPackage ./packages/blink-cmp.nix {
|
||||
src = inputs.plugin-blink-cmp;
|
||||
version = pluginVersion inputs.plugin-blink-cmp;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -50,9 +50,8 @@
|
|||
pname = "flutter-tools";
|
||||
patches = [./patches/flutter-tools.patch];
|
||||
};
|
||||
blink-cmp = pkgs.callPackage ../../../flake/packages/blink-cmp.nix {
|
||||
blink-cmp = pkgs.callPackage ./packages/blink-cmp.nix {
|
||||
src = inputs.plugin-blink-cmp;
|
||||
# TODO: extract into helper func
|
||||
version = inputs.plugin-blink-cmp.shortRev or inputs.plugin-blink-cmp.shortDirtyRev or "dirty";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue