Skip to content

Commit

Permalink
ue4: add libGL.so.1 to LD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
It's required to display the splash screen.
  • Loading branch information
yvt committed Apr 30, 2021
1 parent d2da6c4 commit 4fb92ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/games/ue4/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, stdenv, writeScript, fetchurl, requireFile, unzip, clang_10, lld_10, mono, which,
xorg, xdg-user-dirs, vulkan-loader, libpulseaudio, udev }:
xorg, xdg-user-dirs, vulkan-loader, libpulseaudio, udev, libGL }:

let
deps = import ./cdn-deps.nix { inherit fetchurl; };
Expand All @@ -13,7 +13,7 @@ let
libPath = lib.makeLibraryPath [
xorg.libX11 xorg.libXScrnSaver xorg.libXau xorg.libXcursor xorg.libXext
xorg.libXfixes xorg.libXi xorg.libXrandr xorg.libXrender xorg.libXxf86vm
xorg.libxcb vulkan-loader libpulseaudio stdenv.cc.cc.lib udev
xorg.libxcb vulkan-loader libpulseaudio stdenv.cc.cc.lib udev libGL
];
in
stdenv.mkDerivation rec {
Expand Down

0 comments on commit 4fb92ef

Please sign in to comment.