25 lines
667 B
Nix
Raw Normal View History

2023-12-19 13:43:24 -08:00
{
description = "Good basic flake template";
inputs = {
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
systempkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = systempkgs.mkShell {
buildInputs = with systempkgs; [
2023-12-19 13:52:44 -08:00
# specific nodejs versions available, e.g. nodejs_18
2024-11-01 14:30:28 -07:00
# apparently "nodejs" no longer exists tho?
2024-11-02 13:53:29 -07:00
nodejs_22
2023-12-19 13:43:24 -08:00
nodePackages.aws-cdk
];
};
}
);
}