diff --git a/pkgs/games/quake3/ioquake/Makefile.local b/pkgs/games/quake3/ioquake/Makefile.local new file mode 100644 index 000000000000..9f487970eabc --- /dev/null +++ b/pkgs/games/quake3/ioquake/Makefile.local @@ -0,0 +1,6 @@ +USE_CURL = 1 +USE_CURL_DLOPEN = 0 +USE_FREETYPE = 1 +USE_INTERNAL_LIBS = 0 +USE_OPENAL = 1 +USE_OPENAL_DLOPEN = 0 diff --git a/pkgs/games/quake3/ioquake/default.nix b/pkgs/games/quake3/ioquake/default.nix index 7161b9474f24..437b99ae3439 100644 --- a/pkgs/games/quake3/ioquake/default.nix +++ b/pkgs/games/quake3/ioquake/default.nix @@ -16,6 +16,7 @@ , libjpeg , makeDesktopItem , freetype +, mumble }: stdenv.mkDerivation { @@ -47,11 +48,14 @@ stdenv.mkDerivation { libvorbis libjpeg freetype + mumble ]; enableParallelBuilding = true; - makeFlags = [ "USE_INTERNAL_LIBS=0" "USE_FREETYPE=1" "USE_OPENAL_DLOPEN=0" "USE_CURL_DLOPEN=0" ]; + preConfigure = '' + cp ${./Makefile.local} ./Makefile.local + ''; installTargets = [ "copyfiles" ];