dfhack: add SDL to buildInputs
This commit is contained in:
parent
8f89f81b62
commit
7170ab8433
@ -1,6 +1,7 @@
|
|||||||
{ stdenv, hostPlatform, lib, fetchFromGitHub, cmake, writeScriptBin, callPackage
|
{ stdenv, hostPlatform, lib, fetchFromGitHub, cmake, writeScriptBin, callPackage
|
||||||
, perl, XMLLibXML, XMLLibXSLT, zlib
|
, perl, XMLLibXML, XMLLibXSLT, zlib
|
||||||
, enableStoneSense ? false, allegro5, libGLU_combined
|
, enableStoneSense ? false, allegro5, libGLU_combined
|
||||||
|
, SDL
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -46,7 +47,7 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake perl XMLLibXML XMLLibXSLT fakegit ];
|
nativeBuildInputs = [ cmake perl XMLLibXML XMLLibXSLT fakegit ];
|
||||||
# We don't use system libraries because dfhack needs old C++ ABI.
|
# We don't use system libraries because dfhack needs old C++ ABI.
|
||||||
buildInputs = [ zlib ]
|
buildInputs = [ zlib SDL ]
|
||||||
++ lib.optionals enableStoneSense [ allegro5 libGLU_combined ];
|
++ lib.optionals enableStoneSense [ allegro5 libGLU_combined ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user