anchor.diff:  { stdenv, fetchFromGitHub, pkgconfig, intltool, libtool, vala, gnome3,
  -  bamf, clutter-gtk, pantheon, libgee, libcanberra-gtk3, libwnck3,
  -  deepin-menu, deepin-mutter, deepin-wallpapers,
  +  dbus, bamf, clutter-gtk, pantheon, libgee, libcanberra-gtk3,
  +  libwnck3, deepin-menu, deepin-mutter, deepin-wallpapers,
     deepin-desktop-schemas, wrapGAppsHook, deepin }:
   
   stdenv.mkDerivation rec {
  
positive.code:   ];
  
    postPatch = ''
      searchHardCodedPaths
      fixPath ${deepin-wallpapers} /usr/share/backgrounds src/Background/BackgroundSource.vala
      # fix background path
      sed -i 's|default_background.jpg|deepin/desktop.jpg|' src/Background/BackgroundSource.vala
    '';
  
    NIX_CFLAGS_COMPILE = "-DWNCK_I_KNOW_THIS_IS_UNSTABLE";
  
    preConfigure = ''
      NOCONFIGURE=1 ./autogen.sh
    '';
  
    enableParallelBuilding = true;
  
negative.code:   buildInputs = [
      bamf
      clutter-gtk
      dbus
      deepin-desktop-schemas
      deepin-menu
      deepin-mutter
  