Add nil lsp
This commit is contained in:
parent
b130c3fc4d
commit
7891699ec5
63
flake.lock
63
flake.lock
|
@ -73,6 +73,21 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"flake-utils_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1667395993,
|
||||||
|
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -131,6 +146,28 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nil-lsp": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils_2",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs-unstable"
|
||||||
|
],
|
||||||
|
"rust-overlay": "rust-overlay"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1669391194,
|
||||||
|
"narHash": "sha256-4oWcXqyBYPHF+Wt8AxRhWk70O1qVJPkyBw2IhxJtj6k=",
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "nil",
|
||||||
|
"rev": "afec5fed829ee193de7e8c62e1fb4bd55140f4ac",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "nil",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1659219666,
|
"lastModified": 1659219666,
|
||||||
|
@ -231,6 +268,7 @@
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
"material-wifi-icons": "material-wifi-icons",
|
"material-wifi-icons": "material-wifi-icons",
|
||||||
|
"nil-lsp": "nil-lsp",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
|
@ -257,6 +295,31 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"rust-overlay": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": [
|
||||||
|
"nil-lsp",
|
||||||
|
"flake-utils"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"nil-lsp",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1669170936,
|
||||||
|
"narHash": "sha256-TKPH4Pzkjw5gAPo9hejs3O4mWJW6V/RSiOj8UuSFRTs=",
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"rev": "c90c223c4aef334356029b89c72bb65e26f7efe6",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"sea-orm-cli": {
|
"sea-orm-cli": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1659947860,
|
"lastModified": 1659947860,
|
||||||
|
|
|
@ -32,6 +32,9 @@
|
||||||
|
|
||||||
sea-orm-cli.url = "github:lucperkins/nixpkgs/lperkins/sea-orm-cli";
|
sea-orm-cli.url = "github:lucperkins/nixpkgs/lperkins/sea-orm-cli";
|
||||||
|
|
||||||
|
nil-lsp.url = "github:oxalica/nil";
|
||||||
|
nil-lsp.inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||||
|
|
||||||
# my stuff
|
# my stuff
|
||||||
dhist.url = "github:lelgenio/dhist";
|
dhist.url = "github:lelgenio/dhist";
|
||||||
};
|
};
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
dhist = inputs.dhist.packages.${system}.dhist;
|
dhist = inputs.dhist.packages.${system}.dhist;
|
||||||
mpvpaper = inputs.wegank.packages.${prev.system}.mpvpaper;
|
mpvpaper = inputs.wegank.packages.${prev.system}.mpvpaper;
|
||||||
sea-orm-cli = inputs.sea-orm-cli.legacyPackages.${prev.system}.sea-orm-cli;
|
sea-orm-cli = inputs.sea-orm-cli.legacyPackages.${prev.system}.sea-orm-cli;
|
||||||
|
nil-lsp = inputs.nil-lsp.packages.${prev.system}.nil;
|
||||||
alacritty = (prev.unstable.alacritty.overrideAttrs (old-alacritty: rec {
|
alacritty = (prev.unstable.alacritty.overrideAttrs (old-alacritty: rec {
|
||||||
src = inputs.alacritty-sixel;
|
src = inputs.alacritty-sixel;
|
||||||
cargoDeps = old-alacritty.cargoDeps.overrideAttrs (prev.lib.const {
|
cargoDeps = old-alacritty.cargoDeps.overrideAttrs (prev.lib.const {
|
||||||
|
|
|
@ -103,6 +103,7 @@ in {
|
||||||
nodePackages.uglify-js
|
nodePackages.uglify-js
|
||||||
|
|
||||||
flow # js lsp server
|
flow # js lsp server
|
||||||
|
nil-lsp # nix lsp server
|
||||||
|
|
||||||
# cargo
|
# cargo
|
||||||
cargo-edit
|
cargo-edit
|
||||||
|
|
|
@ -108,7 +108,7 @@ command = "nimlsp"
|
||||||
[language.nix]
|
[language.nix]
|
||||||
filetypes = ["nix"]
|
filetypes = ["nix"]
|
||||||
roots = ["flake.nix", "shell.nix", ".git"]
|
roots = ["flake.nix", "shell.nix", ".git"]
|
||||||
command = "rnix-lsp"
|
command = "nil"
|
||||||
|
|
||||||
[language.ocaml]
|
[language.ocaml]
|
||||||
filetypes = ["ocaml"]
|
filetypes = ["ocaml"]
|
||||||
|
|
Loading…
Reference in a new issue