Skip to content

Commit

Permalink
pulumi: fix withPackages invocation (NixOS#331660)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
CameronNemo and Cameron Nemo authored Sep 3, 2024
1 parent 3736dd8 commit 494549b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/tools/admin/pulumi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
'';
};

Expand Down

0 comments on commit 494549b

Please sign in to comment.