anchor.diff:  { stdenv, fetchurl, unzip, glib, libSM, libICE, gtk2, libXext, libXft
   , fontconfig, libXrender, libXfixes, libX11, libXi, libXrandr, libXcursor
   , freetype, libXinerama, libxcb, zlib, pciutils
  -, makeDesktopItem, xkeyboardconfig, runtimeShell
  +, makeDesktopItem, xkeyboardconfig, dbus, runtimeShell, libGL
   }:
   
   let
  
positive.code: 
      # Patch it
      patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$out/Logic"
      patchelf --set-rpath "${stdenv.cc.cc.lib}/lib:${stdenv.cc.cc.lib}/lib64:${libPath}:\$ORIGIN/Analyzers:\$ORIGIN" "$out/Logic"
  
      # Build the LD_PRELOAD library that makes Logic work from a read-only directory
      mkdir -p "$out/lib"
  
negative.code:     description = "Software for Saleae logic analyzers";
      homepage = http://www.saleae.com/;
      license = licenses.unfree;
      platforms = platforms.linux;
      maintainers = [ maintainers.bjornfor ];
    };
  }
  