24 lines
589 B
Nix
24 lines
589 B
Nix
{
|
|
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
|
|
]);
|
|
};
|
|
});
|
|
}
|