mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #141293 from primeos/chromium
chromium: Start dropping Python 2
This commit is contained in:
commit
18da17118e
1 changed files with 2 additions and 5 deletions
|
@ -53,9 +53,6 @@ buildFun:
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
python2WithPackages = python2.withPackages(ps: with ps; [
|
|
||||||
ply jinja2 setuptools
|
|
||||||
]);
|
|
||||||
python3WithPackages = python3.withPackages(ps: with ps; [
|
python3WithPackages = python3.withPackages(ps: with ps; [
|
||||||
ply jinja2 setuptools
|
ply jinja2 setuptools
|
||||||
]);
|
]);
|
||||||
|
@ -125,7 +122,7 @@ let
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
ninja pkg-config
|
ninja pkg-config
|
||||||
python2WithPackages python3WithPackages perl
|
python2 python3WithPackages perl
|
||||||
gnutar which
|
gnutar which
|
||||||
llvmPackages.bintools
|
llvmPackages.bintools
|
||||||
];
|
];
|
||||||
|
@ -308,7 +305,7 @@ let
|
||||||
|
|
||||||
# This is to ensure expansion of $out.
|
# This is to ensure expansion of $out.
|
||||||
libExecPath="${libExecPath}"
|
libExecPath="${libExecPath}"
|
||||||
${python2}/bin/python2 build/linux/unbundle/replace_gn_files.py --system-libraries ${toString gnSystemLibraries}
|
${python3}/bin/python3 build/linux/unbundle/replace_gn_files.py --system-libraries ${toString gnSystemLibraries}
|
||||||
${gnChromium}/bin/gn gen --args=${escapeShellArg gnFlags} out/Release | tee gn-gen-outputs.txt
|
${gnChromium}/bin/gn gen --args=${escapeShellArg gnFlags} out/Release | tee gn-gen-outputs.txt
|
||||||
|
|
||||||
# Fail if `gn gen` contains a WARNING.
|
# Fail if `gn gen` contains a WARNING.
|
||||||
|
|
Loading…
Reference in a new issue