anchor.diff:      for file in $(find $out -type f \( -perm /0111 -o -name \*.so\* \) ); do
         patchelf --set-rpath ${libPath}:$out/ $file
       done
  +    for file in $out/bin/*; do
  +      wrapProgram $file \
  +        --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:${gtk3.out}/share:${gsettings-desktop-schemas}/share:$out/share:$GSETTINGS_SCHEMAS_PATH"
  +    done
     '';
   
     enableParallelBuilding = true;
  
positive.code: { stdenv, makeDesktopItem, fetchurl, unzip
  , gdk_pixbuf, glib, gtk2, atk, pango, cairo, freetype, fontconfig, dbus, nss, nspr, alsaLib, cups, expat, udev, gnome2
  , xorg, mozjpeg
  }:
  
  stdenv.mkDerivation rec {
    name = "avocode-${version}";
    version = "3.4.0";
  
    src = fetchurl {
      url = "https://media.avocode.com/download/avocode-app/${version}/avocode-${version}-linux.zip";
      sha256 = "1dk4vgam9r5nl8dvpfwrn52gq6r4zxs4zz63p3c4gk73d8qnh4dl";
    };
  
    libPath = stdenv.lib.makeLibraryPath (with xorg; with gnome2; [
      stdenv.cc.cc.lib
      gdk_pixbuf
      glib
      gtk2
      atk
      pango
      cairo
      freetype
  
negative.code:     cups
      expat
      udev
      libX11
      libxcb
      libXi
  