mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
minetest: Fix finding gettext by CMake
This commit is contained in:
parent
366c19ffd8
commit
32724102ed
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchgit, cmake, irrlicht, libpng, bzip2, curl, libogg, jsoncpp
|
||||
, libjpeg, libXxf86vm, mesa, openal, libvorbis, xlibsWrapper, sqlite, luajit, freetype
|
||||
, gettext
|
||||
, gettext, doxygen
|
||||
}:
|
||||
|
||||
let
|
||||
@ -25,13 +25,14 @@ in stdenv.mkDerivation {
|
||||
cmakeFlags = [
|
||||
"-DENABLE_FREETYPE=1"
|
||||
"-DENABLE_GETTEXT=1"
|
||||
"-DGETTEXT_INCLUDE_DIR=${gettext}/include/gettext"
|
||||
"-DCURL_INCLUDE_DIR=${curl.dev}/include/curl"
|
||||
"-DIRRLICHT_INCLUDE_DIR=${irrlicht}/include/irrlicht"
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
cmake irrlicht libpng bzip2 libjpeg curl libogg jsoncpp libXxf86vm mesa
|
||||
openal libvorbis xlibsWrapper sqlite luajit freetype gettext
|
||||
openal libvorbis xlibsWrapper sqlite luajit freetype gettext doxygen
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
|
Loading…
Reference in New Issue
Block a user