From 251f64f1d0aa2d912369736a9d639f2ea579058d Mon Sep 17 00:00:00 2001 From: Xavier Lambein Date: Thu, 9 Feb 2023 16:19:22 +0100 Subject: [PATCH] google-cloud-sdk: add autoPatchElf to components --- pkgs/tools/admin/google-cloud-sdk/components.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/tools/admin/google-cloud-sdk/components.nix b/pkgs/tools/admin/google-cloud-sdk/components.nix index 72d293de211a..ec40c43a6e6a 100644 --- a/pkgs/tools/admin/google-cloud-sdk/components.nix +++ b/pkgs/tools/admin/google-cloud-sdk/components.nix @@ -3,6 +3,8 @@ , google-cloud-sdk , system , snapshotPath +, autoPatchelfHook +, python3 , ... }: @@ -161,6 +163,11 @@ let # Write the snapshot file to the `.install` folder cp $snapshotPath $out/google-cloud-sdk/.install/${pname}.snapshot.json ''; + nativeBuildInputs = [ + autoPatchelfHook + python3 + stdenv.cc.cc + ]; passthru = { dependencies = filterForSystem dependencies; };