anchor.diff: -{ stdenv, fetchurl, makeDesktopItem, makeWrapper
  +{ stdenv, fetchurl, makeDesktopItem, makeWrapper, autoPatchelfHook
   , xorg, gtk2, atk, glib, pango, gdk_pixbuf, cairo, freetype, fontconfig
   , gnome2, dbus, nss, nspr, alsaLib, cups, expat, udev, libnotify, xdg_utils }:
   
  
positive.code:   # don't remove runtime deps
    dontPatchELF = true;
  
    buildInputs = [ makeWrapper ];
  
    unpackPhase = ''
      tar xzf $src
    '';
  
    installPhase = ''
      patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" Franz
      patchelf --set-rpath "$out/opt/franz:${stdenv.lib.makeLibraryPath deps}" Franz
  
      mkdir -p $out/bin $out/opt/franz
      cp -r * $out/opt/franz
      ln -s $out/opt/franz/Franz $out/bin
  
negative.code:          else "ia32";
  
    version = "4.0.4";
  
    desktopItem = makeDesktopItem rec {
      name = "Franz";
  