{ lib, stdenv, buildGame, fetchGog, makeWrapper , mono, SDL2, libGL, openal }: buildGame rec { name = "stardew-valley-${version}"; version = "1.4.5"; src = fetchGog { productId = 1453375253; sha256 = "0w30wfmy1mpgn0r05927gchs448dcf9h43qvi6pssng1y36zqw0p"; }; 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 '/