1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

superTuxKart: fix broken build

(cherry picked from commit a593753404)
This commit is contained in:
Aaron Andersen 2019-03-06 15:22:55 -05:00 committed by Markus Kowalewski
parent 357f51b93d
commit 198b7ea83a
No known key found for this signature in database
GPG key ID: D865C8A91D7025EB

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchsvn, cmake, pkgconfig
{ stdenv, fetchFromGitHub, fetchsvn, fetchpatch, cmake, pkgconfig
, openal, freealut, libGLU_combined, libvorbis, libogg, gettext, curl, freetype
, fribidi, libtool, bluez, libjpeg, libpng, zlib, libX11, libXrandr }:
@ -34,6 +34,14 @@ in stdenv.mkDerivation rec {
curl fribidi bluez libjpeg libpng
];
# https://github.com/supertuxkart/stk-code/issues/3557#issuecomment-440794379
patches = [
(fetchpatch {
url = "https://github.com/supertuxkart/stk-code/commit/3a3953f38c3555e87f3608d0291dbfccf34e9775.patch";
sha256 = "13mr5pwf45g7frpxzlxiyiq39qi3z9spd7l6gi8i3dr3li9wrb1k";
})
];
enableParallelBuilding = true;
cmakeFlags = [