diff options
author | Nikolay Amiantov <ab@fmap.me> | 2017-02-08 22:48:05 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2017-02-08 22:52:37 +0300 |
commit | b2eb9f4a9609ee319a6e136a1aac3c035c0c079c (patch) | |
tree | c3e03ccd3c85bba79ca7ded4b8357490d6c6500a | |
parent | 3effe0b9b5458387798961dc510f626bf6e39b0e (diff) | |
download | nixlib-b2eb9f4a9609ee319a6e136a1aac3c035c0c079c.tar nixlib-b2eb9f4a9609ee319a6e136a1aac3c035c0c079c.tar.gz nixlib-b2eb9f4a9609ee319a6e136a1aac3c035c0c079c.tar.bz2 nixlib-b2eb9f4a9609ee319a6e136a1aac3c035c0c079c.tar.lz nixlib-b2eb9f4a9609ee319a6e136a1aac3c035c0c079c.tar.xz nixlib-b2eb9f4a9609ee319a6e136a1aac3c035c0c079c.tar.zst nixlib-b2eb9f4a9609ee319a6e136a1aac3c035c0c079c.zip |
chromium.mkDerivation: run {pre,post}Configure
This allows us to add custom steps.
-rw-r--r-- | pkgs/applications/networking/browsers/chromium/common.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix index 2acf5627756a..bc581445450e 100644 --- a/pkgs/applications/networking/browsers/chromium/common.nix +++ b/pkgs/applications/networking/browsers/chromium/common.nix @@ -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 |