2023-07-14 00:38:06 +02:00
|
|
|
{
|
|
|
|
description = "A Nix-flake-based Pulumi development environment";
|
|
|
|
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs }:
|
|
|
|
let
|
|
|
|
supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
|
|
|
forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f {
|
|
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
});
|
|
|
|
in
|
|
|
|
{
|
|
|
|
devShells = forEachSupportedSystem ({ pkgs }: {
|
|
|
|
default = pkgs.mkShell {
|
|
|
|
packages = with pkgs; [
|
2023-07-14 00:45:24 +02:00
|
|
|
# Pulumi plus:
|
|
|
|
# pulumi-watch
|
|
|
|
# pulumi-analyzer-* utilities
|
|
|
|
# pulumi-language-* utilities
|
|
|
|
# pulumi-resource-* utilities
|
2023-07-14 00:38:06 +02:00
|
|
|
pulumi-bin
|
2023-07-14 00:45:24 +02:00
|
|
|
|
|
|
|
# Python SDK
|
2023-07-14 00:38:06 +02:00
|
|
|
python311
|
2023-07-14 00:45:24 +02:00
|
|
|
|
|
|
|
# Go SDK
|
|
|
|
go_1_20
|
|
|
|
|
|
|
|
# Node.js SDK
|
|
|
|
nodejs
|
|
|
|
|
|
|
|
# .NET SDK
|
|
|
|
dotnet-sdk_6
|
|
|
|
|
|
|
|
# Java SDK
|
|
|
|
jdk
|
|
|
|
maven
|
|
|
|
|
|
|
|
# Kubernetes
|
2023-07-14 00:38:06 +02:00
|
|
|
kubectl
|
2023-07-14 00:45:24 +02:00
|
|
|
|
|
|
|
# Miscellaneous utilities
|
2023-07-14 00:38:06 +02:00
|
|
|
jq
|
|
|
|
];
|
|
|
|
};
|
|
|
|
});
|
|
|
|
};
|
|
|
|
}
|