anchor.diff:          startupWMClass = wmClass;
         };
   
  -      nativeBuildInputs = [ makeWrapper lndir replace jq ];
  +      nativeBuildInputs = [ makeWrapper lndir jq ];
         buildInputs = [ browser.gtk3 ];
   
   
  
positive.code:         done
  
          # fix links and absolute references
          cd "${browser}"
  
          find . -type l -print0 | while read -d $'\0' l; do
            target="$(readlink "$l" | replace-literal -es -- "${browser}" "$out")"
            ln -sfT "$target" "$out/$l"
          done
  
          # This will not patch binaries, only "text" files.
          # Its there for the wrapper mostly.
          cd "$out"
          replace-literal -esfR -- "${browser}" "$out"
  
          # create the wrapper
  
          executablePrefix="$out/bin"
          executablePath="$executablePrefix/${applicationName}"
  
          if [ ! -x "$executablePath" ]
          then
              echo "cannot find executable file \`${browser}/bin/${applicationName}'"
              exit 1
          fi
  
          if [ ! -L "$executablePath" ]
          then
            # Careful here, the file at executablePath may already be
            # a wrapper. That is why we postfix it with -old instead
            # of -wrapped.
            oldExe="$executablePrefix"/".${applicationName}"-old
            mv "$executablePath" "$oldExe"
          else
            oldExe="$(readlink -v --canonicalize-existing "$executablePath")"
          fi
  
          if [ ! -x "${browser}/bin/${applicationName}" ]
          then
              echo "cannot find executable file \`${browser}/bin/${applicationName}'"
              exit 1
          fi
  
          makeWrapper "$oldExe" \
            "$out/bin/${applicationName}${nameSuffix}" \
              --prefix LD_LIBRARY_PATH ':' "$libs" \
              --suffix-each GTK_PATH ':' "$gtk_modules" \
              --prefix PATH ':' "${xdg-utils}/bin" \
  
negative.code:             --set MOZ_ALLOW_DOWNGRADE 1 \
              --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
              --suffix XDG_DATA_DIRS : '${gnome.adwaita-icon-theme}/share' \
              ${lib.optionalString forceWayland "--set MOZ_ENABLE_WAYLAND 1"} \
              "''${oldWrapperArgs[@]}"
          #############################
          #                           #
          #   END EXTRA PREF CHANGES  #
  