forked from mirrors/nixpkgs
chromium.mkDerivation: run {pre,post}Configure
This allows us to add custom steps.
This commit is contained in:
parent
3effe0b9b5
commit
b2eb9f4a96
|
@ -177,11 +177,15 @@ let
|
|||
} // (extraAttrs.gnFlags or {}));
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
# This is to ensure expansion of $out.
|
||||
libExecPath="${libExecPath}"
|
||||
python build/linux/unbundle/replace_gn_files.py \
|
||||
--system-libraries ${toString gnSystemLibraries}
|
||||
gn gen --args=${escapeShellArg gnFlags} out/Release
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
buildPhase = let
|
||||
|
|
Loading…
Reference in a new issue