35 lines
662 B
Nix
35 lines
662 B
Nix
{
|
|
description = "A very basic flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
}: let
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux.pkgs;
|
|
in {
|
|
nvim = pkgs.mkShell {
|
|
nativeBuildInputs = [
|
|
pkgs.alejandra
|
|
pkgs.ccls
|
|
pkgs.clang
|
|
pkgs.luaformatter
|
|
pkgs.nixd
|
|
pkgs.nixd
|
|
pkgs.pyright
|
|
pkgs.rust-analyzer
|
|
pkgs.sumneko-lua-language-server
|
|
pkgs.svls
|
|
pkgs.texlab
|
|
pkgs.tree-sitter
|
|
pkgs.verible
|
|
pkgs.zls
|
|
(import ./nvim-lsp.nix {inherit pkgs;})
|
|
];
|
|
};
|
|
};
|
|
}
|