pulumi: fix withPackages invocation (#331660)

Re-add PATH handling, which was removed without explanation.
Also add an end quote to the LD_LIBRARY_PATH line.

Co-authored-by: Cameron Nemo <cam@libnemo.org>
This commit is contained in:
Cameron Nemo 2024-09-03 07:07:08 -07:00 committed by GitHub
parent 3736dd89d4
commit 494549b8ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -131,7 +131,8 @@ buildGoModule rec {
''
mkdir -p $out/bin
makeWrapper ${pulumi}/bin/pulumi $out/bin/pulumi \
--set LD_LIBRARY_PATH "${stdenv.cc.cc.lib}/lib
--suffix PATH : ${lib.makeBinPath (f pulumiPackages)} \
--set LD_LIBRARY_PATH "${stdenv.cc.cc.lib}/lib"
'';
};