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 {}));
|
} // (extraAttrs.gnFlags or {}));
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
runHook preConfigure
|
||||||
|
|
||||||
# This is to ensure expansion of $out.
|
# This is to ensure expansion of $out.
|
||||||
libExecPath="${libExecPath}"
|
libExecPath="${libExecPath}"
|
||||||
python build/linux/unbundle/replace_gn_files.py \
|
python build/linux/unbundle/replace_gn_files.py \
|
||||||
--system-libraries ${toString gnSystemLibraries}
|
--system-libraries ${toString gnSystemLibraries}
|
||||||
gn gen --args=${escapeShellArg gnFlags} out/Release
|
gn gen --args=${escapeShellArg gnFlags} out/Release
|
||||||
|
|
||||||
|
runHook postConfigure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = let
|
buildPhase = let
|
||||||
|
Loading…
x
Reference in New Issue
Block a user