diff options
author | Alexander V. Nikolaev <avn@avnik.info> | 2018-11-05 19:51:04 +0200 |
---|---|---|
committer | Alexander V. Nikolaev <avn@avnik.info> | 2018-11-05 19:51:52 +0200 |
commit | b0d470061f150600d8a59f3576dad3f294c61e30 (patch) | |
tree | 8b337c27b291fda867e4b3ce6eb8d9feb67ae8b9 /pkgs/games/openarena | |
parent | d3c2247b77924818622320f9dc790f4403afc6f0 (diff) |
openarena: fix loading libGL.so with libglvnd
Diffstat (limited to 'pkgs/games/openarena')
-rw-r--r-- | pkgs/games/openarena/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/openarena/default.nix b/pkgs/games/openarena/default.nix index d5592e4f74046..212cd28d62c7f 100644 --- a/pkgs/games/openarena/default.nix +++ b/pkgs/games/openarena/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, makeWrapper, patchelf, pkgs, stdenv, SDL, libogg, libvorbis, curl }: +{ fetchurl, makeWrapper, patchelf, pkgs, stdenv, SDL, libglvnd, libogg, libvorbis, curl }: stdenv.mkDerivation rec { name = "openarena-${version}"; @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { installPhase = let gameDir = "$out/openarena-$version"; interpreter = "$(< \"$NIX_CC/nix-support/dynamic-linker\")"; - libPath = stdenv.lib.makeLibraryPath [ SDL libogg libvorbis curl ]; + libPath = stdenv.lib.makeLibraryPath [ SDL libglvnd libogg libvorbis curl ]; in '' mkdir -pv $out/bin cd $out |