Commit a0763eb3 authored by Ivan Trubach's avatar Ivan Trubach
Browse files

pulumi: add python3Packages.pulumi to passthru.tests

parent f19e622f
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
  callPackage,
  testers,
  pulumi,
  python3Packages,
  nix-update-script,
  _experimental-update-script-combinators,
}:
@@ -140,6 +141,16 @@ buildGoModule rec {
        version = "v${version}";
        command = "PULUMI_SKIP_UPDATE_CHECK=1 pulumi version";
      };
      # Pulumi currently requires protobuf4, but Nixpkgs defaults to a newer
      # version. Test that we can actually build the package with protobuf4.
      # https://github.com/pulumi/pulumi/issues/16828
      # https://github.com/NixOS/nixpkgs/issues/351751#issuecomment-2462163436
      pythonPackage =
        (python3Packages.overrideScope (
          final: _: {
            protobuf = final.protobuf4;
          }
        )).pulumi;
      pulumiTestHookShellcheck = testers.shellcheck {
        name = "pulumi-test-hook-shellcheck";
        src = ./extra/pulumi-test-hook.sh;