aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
blob: 77fc877872dd1b6773cb5ba02d0938dc4b2521fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  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.luajitPackages.vusted
        ];
      };
    });
  };
}