anchor.diff:      wrapProgram $out/opt/${binaryName}/${binaryName} \
           "''${gappsWrapperArgs[@]}" \
           --prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \
  -        --prefix LD_LIBRARY_PATH : ${libPath}
  +        --prefix LD_LIBRARY_PATH : ${libPath}:$out/opt/${binaryName}
   
       ln -s $out/opt/${binaryName}/${binaryName} $out/bin/
       ln -s $out/opt/${binaryName}/discord.png $out/share/pixmaps/${pname}.png
  
positive.code:   dontWrapGApps = true;
  
    libPath = lib.makeLibraryPath [
      libcxx systemd libpulseaudio
      stdenv.cc.cc alsaLib atk at-spi2-atk at-spi2-core cairo cups dbus expat fontconfig freetype
      gdk-pixbuf glib gtk3 libnotify libX11 libXcomposite libuuid
      libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender
  
negative.code:     libXScrnSaver
      libXtst
      libxcb
      mesa
      nss
      wrapGAppsHook
    ];
  