anchor.diff:      # Setting FONTCONFIG_FILE is required to make fontconfig read the TBB
       # fonts.conf; upstream uses FONTCONFIG_PATH, but FC_DEBUG=1024
       # indicates the system fonts.conf being used instead.
  +    #
  +    # XDG_DATA_DIRS is set to prevent searching system dirs (looking for .desktop & icons)
       exec env -i \
  +      TZ=":" \
  +      TZDIR="\''${TZDIR:-}" \
  +      LOCALE_ARCHIVE="\$LOCALE_ARCHIVE" \
  +      \
  +      TMPDIR="\''${TMPDIR:-/tmp}" \
         HOME="\$HOME" \
         XAUTHORITY="\$XAUTHORITY" \
         DISPLAY="\$DISPLAY" \
         DBUS_SESSION_BUS_ADDRESS="\$DBUS_SESSION_BUS_ADDRESS" \
  +      \
  +      XDG_DATA_HOME="\$HOME/.local/share" \
  +      XDG_DATA_DIRS="$WRAPPER_XDG_DATA_DIRS" \
         \
         PULSE_SERVER="\''${PULSE_SERVER:-}" \
         PULSE_COOKIE="\''${PULSE_COOKIE:-}" \
  
positive.code: with stdenv.lib;
  
  let
    libPath = makeLibraryPath ([
      atk
      cairo
      dbus
  
negative.code: # Pluggable transport dependencies
  , python27
  
  # Wrapper runtime
  , coreutils
  , glibcLocales
  , hicolor_icon_theme
  , shared_mime_info
  
  # Extra preferences
  , extraPrefs ? ""
  }:
  