anchor.diff:                    --suffix XDG_DATA_DIRS : '${gnome3.adwaita-icon-theme}/share'
                   ''
               }
  +        #############################
  +        #                           #
  +        #   END EXTRA PREF CHANGES  #
  +        #                           #
  +        #############################
   
           if [ -e "${browser}/share/icons" ]; then
               mkdir -p "$out/share"
  
positive.code:             ++ pkcs11Modules;
        gtk_modules = [ libcanberra-gtk2 ];
  
      in stdenv.mkDerivation {
        inherit pname version;
  
  
negative.code:             exit 1
          fi
  
          #########################
          #                       #
          #   EXTRA PREF CHANGES  #
          #                       #
          #########################
          # Link the runtime. The executable itself has to be copied,
          # because it will resolve paths relative to its true location.
          # Any symbolic links have to be replicated as well.
          cd "${browser}"
          find . -type d -exec mkdir -p "$out"/{} \;
  
          find . -type f \( -not -name "${browserName}" \) -exec ln -sT "${browser}"/{} "$out"/{} \;
  
          find . -type f -name "${browserName}" -print0 | while read -d $'\0' f; do
            cp -P --no-preserve=mode,ownership "${browser}/$f" "$out/$f"
            chmod a+rwx "$out/$f"
          done
  
          # fix links and absolute references
          cd "${browser}"
  
          find . -type l -print0 | while read -d $'\0' l; do
            target="$(readlink "$l" | ${replace}/bin/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}/bin/replace-literal -esfR -- "${browser}" "$out"
  
          # create the wrapper
  
          executablePrefix="$out${browser.execdir or "/bin"}"
          executablePath="$executablePrefix/${browserName}"
  
          if [ ! -x "$executablePath" ]
          then
              echo "cannot find executable file \`${browser}${browser.execdir or "/bin"}/${browserName}'"
              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"/".${browserName}"-old
            mv "$executablePath" "$oldExe"
          else
            oldExe="$(readlink -v --canonicalize-existing "$executablePath")"
          fi
  
          if [ ! -x "${browser}${browser.execdir or "/bin"}/${browserName}" ]
          then
              echo "cannot find executable file \`${browser}${browser.execdir or "/bin"}/${browserName}'"
              exit 1
          fi
  
          makeWrapper "$oldExe" \
            "$out${browser.execdir or "/bin"}/${browserName}${nameSuffix}" \
              --suffix-each MOZ_PLUGIN_PATH ':' "$plugins" \
              --suffix LD_LIBRARY_PATH ':' "$libs" \
  