Merge pull request #227707 from amjoseph-nixpkgs/pr/chromium/cross/python3

This commit is contained in:
Artturi
2023-05-01 18:34:01 +03:00
committed by GitHub
@@ -55,7 +55,7 @@
buildFun:
let
python3WithPackages = python3.withPackages(ps: with ps; [
python3WithPackages = python3.pythonForBuild.withPackages(ps: with ps; [
ply jinja2 setuptools
]);
clangFormatPython3 = fetchurl {
@@ -315,7 +315,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.