about summary refs log tree commit diff
diff options
context:
space:
mode:
authorXavier Lambein <xlambein@gmail.com>2023-02-09 16:19:22 +0100
committerXavier Lambein <xlambein@gmail.com>2023-02-28 09:50:54 +0100
commit251f64f1d0aa2d912369736a9d639f2ea579058d (patch)
treee2ade1a3e2518675fc6cac634c464e5bf3b1cdd1
parent4f3f2f548defc38a835145c981650c254e07b93f (diff)
google-cloud-sdk: add autoPatchElf to components
-rw-r--r--pkgs/tools/admin/google-cloud-sdk/components.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/tools/admin/google-cloud-sdk/components.nix b/pkgs/tools/admin/google-cloud-sdk/components.nix
index 72d293de211a8..ec40c43a6e6a0 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;
       };