summary refs log tree commit diff
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2017-02-08 22:48:05 +0300
committerNikolay Amiantov <ab@fmap.me>2017-02-08 22:52:37 +0300
commitb2eb9f4a9609ee319a6e136a1aac3c035c0c079c (patch)
treec3e03ccd3c85bba79ca7ded4b8357490d6c6500a
parent3effe0b9b5458387798961dc510f626bf6e39b0e (diff)
downloadnixlib-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.nix4
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