pulumi: work around build failure with go 1.23

Fixes #351955
This commit is contained in:
Ben Millwood
2025-01-06 17:55:09 +01:00
committed by Matthieu Coudron
parent 92b473057c
commit 6dd85fe299
+7 -2
View File
@@ -1,7 +1,7 @@
{
stdenv,
lib,
buildGoModule,
buildGo122Module,
coreutils,
fetchFromGitHub,
fetchpatch,
@@ -14,7 +14,12 @@
pulumiPackages,
}:
buildGoModule rec {
# Using go 1.22 as pulumi 3.122.0 will not build with 1.23.
# Issue: https://github.com/NixOS/nixpkgs/issues/351955
# Upgrading pulumi version should fix it, but requires more involved changes, so
# this is a temporary workaround.
# Upgrade: https://github.com/NixOS/nixpkgs/pull/352221
buildGo122Module rec {
pname = "pulumi";
version = "3.122.0";