gclient2nix: use buildpackages.jq for cross compilation

fixes electron-unwrapped cross compilation

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
This commit is contained in:
phanirithvij 2025-06-10 20:40:48 +05:30
parent 97629978a0
commit c43802c74e

View File

@ -9,6 +9,7 @@
callPackage, callPackage,
fetchFromGitiles, fetchFromGitiles,
fetchFromGitHub, fetchFromGitHub,
buildPackages,
}: }:
let let
@ -43,7 +44,7 @@ let
makeSetupHook { makeSetupHook {
name = "gclient-unpack-hook"; name = "gclient-unpack-hook";
substitutions = { substitutions = {
jq = lib.getExe jq; jq = lib.getExe buildPackages.jq;
}; };
} ./gclient-unpack-hook.sh } ./gclient-unpack-hook.sh
) { }; ) { };