anchor.diff:    };
   
     mkrpath = p: "${lib.makeSearchPathOutput "lib" "lib64" p}:${lib.makeLibraryPath p}";
  -  widevine = let upstream-info = chromium.upstream-info; in stdenv.mkDerivation {
  -    name = "chromium-binary-plugin-widevine";
  +  widevineCdm = let upstream-info = chromium.upstream-info; in stdenv.mkDerivation {
  +    name = "chrome-widevine-cdm";
   
       # The .deb file for Google Chrome
       src = upstream-info.binary;
  
positive.code:     phases = [ "unpackPhase" "patchPhase" "installPhase" "checkPhase" ];
  
      unpackCmd = let
        soPath =
          if upstream-info.channel == "stable" then
            "./opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so"
          else if upstream-info.channel == "beta" then
            "./opt/google/chrome-beta/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so"
          else if upstream-info.channel == "dev" then
            "./opt/google/chrome-unstable/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so"
          else
            throw "Unknown chromium channel.";
      in ''
        mkdir -p plugins
        # Extract just libwidevinecdm.so from upstream's .deb file
        ar p "$src" data.tar.xz | tar xJ -C plugins ${soPath}
        mv plugins/${soPath} plugins/
        rm -rf plugins/opt
      '';
  
      doCheck = true;
  
negative.code: 
    # We want users to be able to enableWideVine without rebuilding all of
    # chromium, so we have a separate derivation here that copies chromium
    # and adds the unfree WidevineCdm.
    chromiumWV = let browser = chromium.browser; in if enableWideVine then
      runCommand (browser.name + "-wv") { version = browser.version; }
        ''
          mkdir -p $out
          cp -a ${browser}/* $out/
          chmod u+w $out/libexec/chromium
          cp -a ${widevineCdm}/WidevineCdm $out/libexec/chromium/
        ''
      else browser;
  in stdenv.mkDerivation {
  