templates/starters/typescript/flake.nix

18 lines
421 B
Nix
Raw Permalink Normal View History

2022-09-07 23:56:09 +03:00
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
2022-10-21 03:41:22 +03:00
flake-utils.url = "github:numtide/flake-utils";
2022-09-07 23:56:09 +03:00
};
2022-10-21 03:41:22 +03:00
outputs = { self, nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (system:
2022-09-07 23:56:09 +03:00
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [ nodejs-16_x ];
};
});
}