mirror of
https://github.com/youwen5/nix-dev-envs.git
synced 2024-11-24 18:33:50 -08:00
feat: add lsps for all languages
This commit is contained in:
parent
4278718975
commit
563e94e3b0
1 changed files with 10 additions and 0 deletions
10
flake.nix
10
flake.nix
|
@ -24,24 +24,28 @@
|
||||||
go = pkgs.mkShell {
|
go = pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
go
|
go
|
||||||
|
gopls
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
zig = pkgs.mkShell {
|
zig = pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
zig
|
zig
|
||||||
|
zls
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonPoetry = pkgs.mkShell {
|
pythonPoetry = pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
poetry
|
poetry
|
||||||
|
pyright
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
haskellStack = pkgs.mkShell {
|
haskellStack = pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
haskellPackages.stack
|
haskellPackages.stack
|
||||||
|
haskell-language-server
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -49,6 +53,7 @@
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
haskellPackages.cabal-install
|
haskellPackages.cabal-install
|
||||||
ghc
|
ghc
|
||||||
|
haskell-language-server
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -75,6 +80,7 @@
|
||||||
nodejs
|
nodejs
|
||||||
nodePackages_latest.npm
|
nodePackages_latest.npm
|
||||||
nodePackages_latest.prettier
|
nodePackages_latest.prettier
|
||||||
|
typescript-language-server
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -83,6 +89,7 @@
|
||||||
nodejs
|
nodejs
|
||||||
nodePackages_latest.pnpm
|
nodePackages_latest.pnpm
|
||||||
nodePackages_latest.prettier
|
nodePackages_latest.prettier
|
||||||
|
typescript-language-server
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -91,6 +98,7 @@
|
||||||
nodejs
|
nodejs
|
||||||
nodePackages_latest.yarn
|
nodePackages_latest.yarn
|
||||||
nodePackages_latest.prettier
|
nodePackages_latest.prettier
|
||||||
|
typescript-language-server
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -105,12 +113,14 @@
|
||||||
latexFull = pkgs.mkShell {
|
latexFull = pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
texliveFull
|
texliveFull
|
||||||
|
texlab
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
latexMinimal = pkgs.mkShell {
|
latexMinimal = pkgs.mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
texliveMinimal
|
texliveMinimal
|
||||||
|
texlab
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue