warzone2100: fix build after #41902 (#42908)

This commit is contained in:
ikervagyok 2018-07-03 14:27:06 +02:00 committed by Orivej Desh
parent 54da29274f
commit 8e5de9e200

View File

@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, perl, unzip, zip, which, pkgconfig { stdenv, lib, fetchurl, perl, unzip, zip, which, pkgconfig
, qtbase, qtscript, SDL2, libtheora, openal, glew, physfs, fribidi , qtbase, qtscript, SDL2, libtheora, openal, glew, physfs, fribidi, libXrandr
, withVideos ? false , withVideos ? false
}: }:
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
sha256 = "10kmpr4cby95zwqsl1zwx95d9achli6khq7flv6xmrq30a39xazw"; sha256 = "10kmpr4cby95zwqsl1zwx95d9achli6khq7flv6xmrq30a39xazw";
}; };
buildInputs = [ qtbase qtscript SDL2 libtheora openal glew physfs fribidi ]; buildInputs = [ qtbase qtscript SDL2 libtheora openal glew physfs fribidi libXrandr ];
nativeBuildInputs = [ perl zip unzip pkgconfig ]; nativeBuildInputs = [ perl zip unzip pkgconfig ];
postPatch = '' postPatch = ''