Commit b5a89ae9 authored by Adam Joseph's avatar Adam Joseph Committed by Artturin
Browse files

chromium: do not skip {pre,post}Build

When overriding `buildPhase` it is important to remember to
explicitly call `runHook preBuild` and `runHook postBuild`.

I forget to do this all the time.
parent f27f5ca6
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -340,7 +340,11 @@ let
      '';
      targets = extraAttrs.buildTargets or [];
      commands = map buildCommand targets;
    in lib.concatStringsSep "\n" commands;
    in ''
      runHook preBuild
      ${lib.concatStringsSep "\n" commands}
      runHook postBuild
    '';

    postFixup = ''
      # Make sure that libGLESv2 and libvulkan are found by dlopen.