19 lines
601 B
Nix
19 lines
601 B
Nix
{
|
|
description = "Screeps Bot Hurricane";
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/master";
|
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system: let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in {
|
|
devShell = pkgs.mkShell {
|
|
nativeBuildInputs = [ pkgs.bashInteractive ];
|
|
buildInputs = with pkgs; [
|
|
(yarn.override { nodejs = nodejs_24; }) nodejs_24
|
|
nodePackages.typescript
|
|
nodePackages.typescript-language-server
|
|
];
|
|
};
|
|
});
|
|
}
|