nix-flake-examples/aws-cdk/flake.nix

24 lines
606 B
Nix
Raw Normal View History

2023-12-19 21:43:24 +00: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 21:52:44 +00:00
# specific nodejs versions available, e.g. nodejs_18
2023-12-19 21:43:24 +00:00
nodejs
nodePackages.aws-cdk
];
};
}
);
}