anchor.diff:          chrome ${optionalString (!enableSELinux) "chrome_sandbox"}
     '';
   
  -  installPhase = ''
  +  installPhase = let
  +    enabledPlugins = optional enablePepperFlash binaryPlugins.flash
  +                  ++ optional enablePepperPDF   binaryPlugins.pdf;
  +    getFlags = plugin: "$(< ${plugin}/nix-support/chromium-flags)";
  +    pluginArgs = concatStringsSep " " (map getFlags enabledPlugins);
  +  in ''
       ensureDir "${libExecPath}"
       cp -v "${buildPath}/"*.pak "${libExecPath}/"
       ${optionalString (!versionOlder src.version "34.0.0.0") ''
  
positive.code: , gnomeSupport ? false, gconf ? null
  , gnomeKeyringSupport ? false, libgnome_keyring3 ? null
  , proprietaryCodecs ? true
  , cupsSupport ? false
  , pulseSupport ? false, pulseaudio ? null
  }:
  
negative.code:     cp -v "${buildPath}/chrome" "${libExecPath}/${packageName}"
  
      mkdir -vp "$out/bin"
      makeWrapper "${libExecPath}/${packageName}" "$out/bin/${packageName}" \
        --add-flags "${pluginArgs}"
  
      mkdir -vp "$out/share/man/man1"
      cp -v "${buildPath}/chrome.1" "$out/share/man/man1/${packageName}.1"
  