discord: fix runtime linking

authored by Jonathan Ringer and committed by Jonathan Ringer c5bed409 4f6b97f2

+3 -3
+3 -3
pkgs/applications/networking/instant-messengers/discord/base.nix
··· 23 libXScrnSaver 24 libXtst 25 libxcb 26 - mesa.drivers 27 nss 28 wrapGAppsHook 29 ]; ··· 31 dontWrapGApps = true; 32 33 libPath = lib.makeLibraryPath [ 34 - libcxx systemd libpulseaudio 35 stdenv.cc.cc alsaLib atk at-spi2-atk at-spi2-core cairo cups dbus expat fontconfig freetype 36 gdk-pixbuf glib gtk3 libnotify libX11 libXcomposite libuuid 37 libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender ··· 50 wrapProgram $out/opt/${binaryName}/${binaryName} \ 51 "''${gappsWrapperArgs[@]}" \ 52 --prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \ 53 - --prefix LD_LIBRARY_PATH : ${libPath} 54 55 ln -s $out/opt/${binaryName}/${binaryName} $out/bin/ 56 ln -s $out/opt/${binaryName}/discord.png $out/share/pixmaps/${pname}.png
··· 23 libXScrnSaver 24 libXtst 25 libxcb 26 + mesa 27 nss 28 wrapGAppsHook 29 ]; ··· 31 dontWrapGApps = true; 32 33 libPath = lib.makeLibraryPath [ 34 + libcxx systemd libpulseaudio libdrm mesa 35 stdenv.cc.cc alsaLib atk at-spi2-atk at-spi2-core cairo cups dbus expat fontconfig freetype 36 gdk-pixbuf glib gtk3 libnotify libX11 libXcomposite libuuid 37 libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender ··· 50 wrapProgram $out/opt/${binaryName}/${binaryName} \ 51 "''${gappsWrapperArgs[@]}" \ 52 --prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \ 53 + --prefix LD_LIBRARY_PATH : ${libPath}:$out/opt/${binaryName} 54 55 ln -s $out/opt/${binaryName}/${binaryName} $out/bin/ 56 ln -s $out/opt/${binaryName}/discord.png $out/share/pixmaps/${pname}.png