aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
blob: 04681a1c93c63dc68a7c99aa7d0e7c0d65f3a7ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  description = "Quickstart configurations for the Nvim LSP client";

  inputs.nixpkgs.url = "github:NixOS/nixpkgs";
  inputs.systems.url = "github:nix-systems/default";

  outputs = { self, nixpkgs, systems }: let
    supportedSystems = nixpkgs.lib.genAttrs (import systems);
    forEachSystem = function: supportedSystems (system:
        function nixpkgs.legacyPackages.${system});
  in {
   devShells = forEachSystem (pkgs: {
      default = pkgs.mkShell {
        packages = [
          pkgs.stylua
          pkgs.luaPackages.luacheck
          pkgs.luajitPackages.vusted
          pkgs.selene
        ];
      };
    });
  };
}