From 712d1596ef899e728d27dcd2b766f6bb3242a356 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Wed, 22 Apr 2020 14:16:04 -0400 Subject: [PATCH] pulumi-bin: fix darwin build --- pkgs/tools/admin/pulumi/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/admin/pulumi/default.nix b/pkgs/tools/admin/pulumi/default.nix index 199789dbaa67..c0547f0c0c89 100644 --- a/pkgs/tools/admin/pulumi/default.nix +++ b/pkgs/tools/admin/pulumi/default.nix @@ -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" '';