Merge pull request #85801 from veprbl/pr/pulumi_darwin_fix

pulumi-bin: darwin fix
This commit is contained in:
Dmitry Kalinkin 2020-04-22 14:54:13 -04:00 committed by GitHub
commit e391c83f0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,10 +17,11 @@ 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"
'';
buildInputs = optionals stdenv.isLinux [ autoPatchelfHook makeWrapper ];
nativeBuildInputs = optionals stdenv.isLinux [ autoPatchelfHook makeWrapper ];
meta = {
homepage = "https://pulumi.io/";