Commit 1de8d2f1 authored by Adam Joseph's avatar Adam Joseph Committed by Artturin
Browse files

chromium: use python3 for build to work towards working cross

parent d74180d0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.