pulumi-bin: fix darwin build

This commit is contained in:
Dmitry Kalinkin 2020-04-22 14:16:04 -04:00
parent ba13482494
commit 712d1596ef
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -17,6 +17,7 @@ in stdenv.mkDerivation {
installPhase = ''
mkdir -p $out/bin
cp * $out/bin/
'' + optionalString stdenv.isLinux ''
wrapProgram $out/bin/pulumi --set LD_LIBRARY_PATH "${stdenv.cc.cc.lib}/lib"
'';