mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-02-12 20:13:19 +00:00
blink: move package into legacyPackage
This commit is contained in:
parent
9dccd4b4a8
commit
8a069a6835
3 changed files with 10 additions and 5 deletions
|
@ -9,10 +9,14 @@
|
|||
overlays = [
|
||||
inputs.self.overlays.default
|
||||
|
||||
(_: _: {
|
||||
(final: _: {
|
||||
# Build nil from source to get most recent
|
||||
# features as they are added.
|
||||
nil = inputs'.nil.packages.default;
|
||||
blink-cmp = final.callPackage ./legacyPackages/blink-cmp.nix {
|
||||
src = inputs.plugin-blink-cmp;
|
||||
version = inputs.plugin-blink-cmp.shortRev or inputs.plugin-blink-cmp.shortDirtyRev or "dirty";
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
pname = "blink-fuzzy-lib";
|
||||
inherit version src;
|
||||
|
||||
env = {
|
||||
# TODO: remove this if plugin stops using nightly rust
|
||||
RUSTC_BOOTSTRAP = true;
|
||||
};
|
||||
nativeBuildInputs = [git];
|
||||
cargoLock = {
|
||||
lockFile = "${src}/Cargo.lock";
|
|
@ -61,10 +61,7 @@
|
|||
"flutter-tools.dev_tools"
|
||||
];
|
||||
};
|
||||
blink-cmp = pkgs.callPackage ./packages/blink-cmp.nix {
|
||||
src = inputs.plugin-blink-cmp;
|
||||
version = inputs.plugin-blink-cmp.shortRev or inputs.plugin-blink-cmp.shortDirtyRev or "dirty";
|
||||
};
|
||||
inherit (pkgs) blink-cmp;
|
||||
};
|
||||
|
||||
buildConfigPlugins = plugins:
|
||||
|
|
Loading…
Add table
Reference in a new issue