Latest Things

This commit is contained in:
2023-03-03 09:32:00 -05:00
parent 85c4818e37
commit a39c61a951
6 changed files with 109 additions and 110 deletions

23
flake.nix Normal file
View File

@@ -0,0 +1,23 @@
{
description = "AlanBot Nix Env";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
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; [
nodejs
python3
])
++
(with pkgs.nodePackages;[
npm
typescript
]);
};
});
}