mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
Merge pull request #49794 from avnik/fix/openarena
openarena: fix loading libGL.so with libglvnd
This commit is contained in:
commit
80389f0046
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user