Compare commits

..

No commits in common. "b9968f13bdcb947a25388e5c3992063c8cd8c9b9" and "c96f5f0d8c1c1a96a442319f468857f1bc6b75e6" have entirely different histories.

5 changed files with 32 additions and 36 deletions

17
flake.lock generated
View file

@ -1,5 +1,21 @@
{ {
"nodes": { "nodes": {
"blink-cmp": {
"flake": false,
"locked": {
"lastModified": 1739129359,
"narHash": "sha256-nUrXXiJ7NRxS21H53U323lwEKdo08Y011l8XskXC/vw=",
"owner": "saghen",
"repo": "blink.cmp",
"rev": "b2485c76cb7877de6fe9c8670af59ba3d72fd74d",
"type": "github"
},
"original": {
"owner": "saghen",
"repo": "blink.cmp",
"type": "github"
}
},
"flake-parts": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
@ -121,6 +137,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"blink-cmp": "blink-cmp",
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"mnw": "mnw", "mnw": "mnw",

View file

@ -98,5 +98,10 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils"; inputs.flake-utils.follows = "flake-utils";
}; };
blink-cmp = {
url = "github:saghen/blink.cmp";
flake = false;
};
}; };
} }

View file

@ -1,8 +1,4 @@
{ {inputs, ...}: {
inputs,
self,
...
}: {
perSystem = { perSystem = {
system, system,
inputs', inputs',
@ -13,20 +9,13 @@
overlays = [ overlays = [
inputs.self.overlays.default inputs.self.overlays.default
(final: prev: { (final: _: {
# Build nil from source to get most recent # Build nil from source to get most recent
# features as they are added. # features as they are added.
nil = inputs'.nil.packages.default; nil = inputs'.nil.packages.default;
blink-cmp = let blink-cmp = final.callPackage ./legacyPackages/blink-cmp.nix {
pin = self.pins.blink-cmp; src = inputs.blink-cmp;
in version = inputs.blink-cmp.shortRev or inputs.blink-cmp.shortDirtyRev or "dirty";
final.callPackage ./legacyPackages/blink-cmp.nix {
inherit (pin) version;
src = prev.fetchFromGitHub {
inherit (pin.repository) owner repo;
rev = pin.revision;
sha256 = pin.hash;
};
}; };
}) })
]; ];

View file

@ -10,16 +10,16 @@
pname = "blink-fuzzy-lib"; pname = "blink-fuzzy-lib";
inherit version src; inherit version src;
env = {
# TODO: remove this if plugin stops using nightly rust # TODO: remove this if plugin stops using nightly rust
env.RUSTC_BOOTSTRAP = true; RUSTC_BOOTSTRAP = true;
};
nativeBuildInputs = [git]; nativeBuildInputs = [git];
cargoLock = { cargoLock = {
lockFile = "${src}/Cargo.lock"; lockFile = "${src}/Cargo.lock";
allowBuiltinFetchGit = true; allowBuiltinFetchGit = true;
}; };
}; };
libExt = libExt =
if hostPlatform.isDarwin if hostPlatform.isDarwin
then "dylib" then "dylib"

View file

@ -36,21 +36,6 @@
"url": "https://github.com/rrethy/base16-nvim/archive/6ac181b5733518040a33017dde654059cd771b7c.tar.gz", "url": "https://github.com/rrethy/base16-nvim/archive/6ac181b5733518040a33017dde654059cd771b7c.tar.gz",
"hash": "0q47jbh6abn2hql9ghi9ayx3l8pdrdcdrnf4qfk7cp0v1bl7y48r" "hash": "0q47jbh6abn2hql9ghi9ayx3l8pdrdcdrnf4qfk7cp0v1bl7y48r"
}, },
"blink-cmp": {
"type": "GitRelease",
"repository": {
"type": "GitHub",
"owner": "saghen",
"repo": "blink.cmp"
},
"pre_releases": false,
"version_upper_bound": null,
"release_prefix": null,
"version": "v0.11.0",
"revision": "7a70199efe4e333a3693ba3e56ddbec3b9c9c330",
"url": "https://api.github.com/repos/saghen/blink.cmp/tarball/v0.11.0",
"hash": "1j3sj03i72iw5npwwksc7w7axv8z0nbgi11adkfng9ak73kn1gdq"
},
"blink-compat": { "blink-compat": {
"type": "Git", "type": "Git",
"repository": { "repository": {