anchor.diff:            $out/bin/$exe \
             --prefix "QT_XKB_CONFIG_ROOT" ":" "${xkeyboard_config}/share/X11/xkb"
       done
  -    for lib in $out/draftsight/opt/dassault-systemes/DraftSight/Libraries/*.so; do
  +    for lib in $out/draftsight/opt/dassault-systemes/DraftSight/Libraries/*.so*; do
         # DraftSight ships with broken symlinks for some reason
         if [ -f $(readlink -f $lib) ]
         then
  
positive.code:   # that it dlopen()'s libraries in paths removed by shrinking RPATH.
    dontPatchELF = true;
  
    src = requireFile {
      name = "draftSight.deb";
      url = "https://www.3ds.com/?eID=3ds_brand_download&uid=41&pidDown=13426&L=0";
      sha256 = "04i3dqza6y4p2059pqg5inp3qzr5jmiqplzzk7h1a6gh380v1rbr";
    };
  
    libPath = stdenv.lib.makeLibraryPath [ gcc.cc libGLU_combined xdg_utils
      dbus_tools alsaLib cups.lib fontconfig glib icu libpng12
      xkeyboard_config gstreamer zlib libxslt libxml2 sqlite orc libX11
      libXcursor libXrandr libxcb libXi libSM libICE libXrender
      libXcomposite ];
  
  
negative.code: { stdenv, fetchurl, dpkg, makeWrapper, gcc, libGLU_combined, xdg_utils,
    dbus_tools, alsaLib, cups, fontconfig, glib, icu, libpng12,
    xkeyboard_config, zlib, libxslt, libxml2, sqlite, orc,
    libX11, libXcursor, libXrandr, libxcb, libXi, libSM, libICE,
    libXrender, libXcomposite }:
  
  let version = "2018SP2"; in
  stdenv.mkDerivation {
    name = "draftsight-${version}";
  
  