diff options
author | Adam Joseph <adam@westernsemico.com> | 2023-04-22 16:31:33 -0700 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-05-01 16:03:01 +0300 |
commit | 1de8d2f180afe1f1eac7548080cbcf8082f4d4fe (patch) | |
tree | 69cd0fc3c9dab9787f328021dc36b258afaca1b8 /pkgs | |
parent | d74180d07b7720f7f34d06a3a44782c440973f87 (diff) |
chromium: use python3 for build to work towards working cross
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/networking/browsers/chromium/common.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix index e6dcf83e3f3ed..fe32ea2b0ab8d 100644 --- a/pkgs/applications/networking/browsers/chromium/common.nix +++ b/pkgs/applications/networking/browsers/chromium/common.nix @@ -55,7 +55,7 @@ buildFun: let - python3WithPackages = python3.withPackages(ps: with ps; [ + python3WithPackages = python3.pythonForBuild.withPackages(ps: with ps; [ ply jinja2 setuptools ]); clangFormatPython3 = fetchurl { @@ -314,7 +314,7 @@ let # This is to ensure expansion of $out. libExecPath="${libExecPath}" - ${python3}/bin/python3 build/linux/unbundle/replace_gn_files.py --system-libraries ${toString gnSystemLibraries} + ${python3.pythonForBuild}/bin/python3 build/linux/unbundle/replace_gn_files.py --system-libraries ${toString gnSystemLibraries} ${gnChromium}/bin/gn gen --args=${lib.escapeShellArg gnFlags} out/Release | tee gn-gen-outputs.txt # Fail if `gn gen` contains a WARNING. |