flake.nix 459 B

123456789101112131415161718192021
  1. {
  2. inputs = {
  3. utils.url = "github:numtide/flake-utils";
  4. };
  5. outputs = { self, nixpkgs, utils }:
  6. utils.lib.eachDefaultSystem (system:
  7. let
  8. pkgs = nixpkgs.legacyPackages."${system}";
  9. in rec {
  10. devShell = pkgs.mkShell {
  11. nativeBuildInputs = with pkgs; [
  12. yarn
  13. nodejs-14_x
  14. nodePackages.typescript-language-server
  15. nodePackages.eslint
  16. ];
  17. };
  18. });
  19. }