21 lines
459 B
Nix
Executable File
21 lines
459 B
Nix
Executable File
{
|
|
inputs = {
|
|
utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, utils }:
|
|
utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = nixpkgs.legacyPackages."${system}";
|
|
in rec {
|
|
devShell = pkgs.mkShell {
|
|
nativeBuildInputs = with pkgs; [
|
|
yarn
|
|
nodejs-14_x
|
|
nodePackages.typescript-language-server
|
|
nodePackages.eslint
|
|
];
|
|
};
|
|
});
|
|
}
|