From 16700a86e467411b4b624e3298cfe3c69114e797 Mon Sep 17 00:00:00 2001 From: Jaka Hudoklin Date: Fri, 18 Jan 2019 14:18:04 +0100 Subject: [PATCH] pulumi: patchelf binaries on linux --- pkgs/tools/admin/pulumi/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/pulumi/default.nix b/pkgs/tools/admin/pulumi/default.nix index 8d8af382f1f..956f688bb0a 100644 --- a/pkgs/tools/admin/pulumi/default.nix +++ b/pkgs/tools/admin/pulumi/default.nix @@ -1,4 +1,6 @@ -{ stdenv, fetchurl }: +{ lib, stdenv, fetchurl, autoPatchelfHook }: + +with lib; let @@ -27,7 +29,9 @@ in stdenv.mkDerivation rec { cp * $out/bin/ ''; - meta = with stdenv.lib; { + buildInputs = optionals stdenv.isLinux [ autoPatchelfHook ]; + + meta = { homepage = https://pulumi.io/; description = "Pulumi is a cloud development platform that makes creating cloud programs easy and productive"; license = with licenses; [ asl20 ];