git.iko.soy/typeable/nixpkgs
on master help sign in
libretro.mame: fix parallel building
commit4cbbecc85dbc5a040f2e4111093d30337718996a authorOrivej Desh <orivej@gmx.fr> dateWed 29 Nov 2017, 10:53 (9 years ago) parent11520e8
1 file changed+7−1
pkgs/misc/emulators/retroarch/cores.nix+7−1
pkgs/misc/emulators/retroarch/cores.nix+7−1
@@ -204,7 +204,7 @@ in
204204 description = "Enhanced Genesis Plus libretro port";
205205 };
206206
207− mame = mkLibRetroCore {
207+ mame = (mkLibRetroCore {
208208 core = "mame";
209209 src = fetchRetro {
210210 repo = "mame";
@@ -214,6 +214,12 @@ in
214214 description = "Port of MAME to libretro";
215215
216216 extraBuildInputs = [ alsaLib mesa portaudio python27 xorg.libX11 ];
217+ }).override {
218+ postPatch = ''
219+ # Prevent the failure during the parallel building of:
220+ # make -C 3rdparty/genie/build/gmake.linux -f genie.make obj/Release/src/host/lua-5.3.0/src/lgc.o
221+ mkdir -p 3rdparty/genie/build/gmake.linux/obj/Release/src/host/lua-5.3.0/src
222+ '';
217223 };
218224
219225 mgba = mkLibRetroCore rec {