1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

alienarena: fix libGL path

This commit is contained in:
Fabian Möller 2019-11-26 16:40:05 +01:00 committed by Frederik Rietdijk
parent 735590c765
commit b21700a6b6

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, libjpeg, libX11, libXxf86vm, curl, libogg
, libvorbis, freetype, openal, libGLU, libGL }:
, libvorbis, freetype, openal, libGL }:
stdenv.mkDerivation {
name = "alienarena-7.65";
@ -11,12 +11,12 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libjpeg libX11 curl libogg libvorbis
freetype openal libGLU libGL libXxf86vm ];
freetype openal libGL libXxf86vm ];
patchPhase = ''
substituteInPlace ./configure \
--replace libopenal.so.1 ${openal}/lib/libopenal.so.1 \
--replace libGL.so.1 ${libGLU libGL}/lib/libGL.so.1
--replace libGL.so.1 ${libGL}/lib/libGL.so.1
'';
meta = with stdenv.lib; {