{ lib, stdenv, buildGame, fetchGog, makeWrapper , mono, SDL2, libGL, openal }: buildGame rec { name = "stardew-valley-${version}"; version = "1.3.33"; src = fetchGog { productId = 1453375253; sha256 = "1akqnawy2rzyxlkpjip6fa0isnzna131n09fr19i82qj9ywz2c1j"; }; nativeBuildInputs = [ makeWrapper ]; buildPhase = let dllmap = { SDL2 = "${SDL2}/lib/libSDL2.so"; soft_oal = "${openal}/lib/libopenal.so"; }; in lib.concatStrings (lib.mapAttrsToList (dll: target: '' sed -i -e '/