2022-12-04 00:07:26 +03:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, flake-utils, ... }:
|
|
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
in
|
|
|
|
{
|
|
|
|
devShells.default = pkgs.mkShell {
|
|
|
|
packages = with pkgs; [
|
2022-12-07 12:59:06 +03:00
|
|
|
jq
|
2022-12-04 00:07:26 +03:00
|
|
|
nodejs-18_x
|
|
|
|
tree-sitter
|
|
|
|
nodePackages.eslint
|
|
|
|
nodePackages.prettier
|
|
|
|
nodePackages.vscode-langservers-extracted # html, css, json, eslint
|
|
|
|
];
|
|
|
|
};
|
|
|
|
});
|
|
|
|
}
|