diff --git a/pkgs/development/libraries/webkit/default.nix b/pkgs/development/libraries/webkit/default.nix index 2bb70f998989..4adc75813aac 100644 --- a/pkgs/development/libraries/webkit/default.nix +++ b/pkgs/development/libraries/webkit/default.nix @@ -17,7 +17,7 @@ rec { configureFlags = []; /* doConfigure should be specified separately */ - phaseNames = ["setVars" "paranoidFixComments" "doConfigure" (doPatchShebangs ".") + phaseNames = ["setVars" "fixTypos" "paranoidFixComments" "doConfigure" (doPatchShebangs ".") "doReplaceUsrBin" "doMakeInstall" "doAddPrograms"]; setVars = fullDepEntry ('' @@ -40,6 +40,10 @@ rec { sed -re 's@( |^)//.*@/* & */@' -i $(find . -name '*.c' -o -name '*.h') '') ["minInit" "doUnpack"]; + fixTypos = fullDepEntry ('' + sed -e 's@WebCore/workers/DedicatedWorkerThread.h$@& \@' -i WebCore/GNUMakefile + '') ["minInit" "doUnpack"]; + name = "webkit-" + version; meta = { description = "WebKit - a fast and correct HTML renderer";