Latest Things
This commit is contained in:
23
flake.nix
Normal file
23
flake.nix
Normal 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
|
||||
]);
|
||||
};
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user