Skip to content

Commit

Permalink
pulumi: work around build failure with go 1.23
Browse files Browse the repository at this point in the history
Fixes #351955
  • Loading branch information
bmillwood authored and teto committed Jan 6, 2025
1 parent 92b4730 commit 6dd85fe
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pkgs/by-name/pu/pulumi/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
stdenv,
lib,
buildGoModule,
buildGo122Module,
coreutils,
fetchFromGitHub,
fetchpatch,
Expand All @@ -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";

Expand Down

0 comments on commit 6dd85fe

Please sign in to comment.