diff options
yuzu: 1452 -> 1475, yuzu-ea: 3621 -> 3702
Diffstat (limited to 'pkgs/applications/emulators/yuzu/generic.nix')
-rw-r--r-- | pkgs/applications/emulators/yuzu/generic.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/applications/emulators/yuzu/generic.nix b/pkgs/applications/emulators/yuzu/generic.nix index d583928d88c..3fdd6db8466 100644 --- a/pkgs/applications/emulators/yuzu/generic.nix +++ b/pkgs/applications/emulators/yuzu/generic.nix @@ -15,6 +15,7 @@ , discord-rpc , doxygen , enet +, fetchurl , ffmpeg , fmt , glslang @@ -47,7 +48,13 @@ , zstd }: -stdenv.mkDerivation { +let + tzinfoVersion = "220816"; + tzinfo = fetchurl { + url = "https://github.com/lat9nq/tzdb_to_nx/releases/download/${tzinfoVersion}/${tzinfoVersion}.zip"; + hash = "sha256-yv8ykEYPu9upeXovei0u16iqQ7NasH6873KnQy4+KwI="; + }; +in stdenv.mkDerivation { pname = "yuzu-${branch}"; inherit version src; @@ -141,6 +148,10 @@ stdenv.mkDerivation { "-DTITLE_BAR_FORMAT_IDLE=yuzu | ${branch} ${version} (nixpkgs) {}" "-DTITLE_BAR_FORMAT_RUNNING=yuzu | ${branch} ${version} (nixpkgs) | {}" ) + + # provide pre-downloaded tz data + mkdir -p build/externals/nx_tzdb + ln -sf ${tzinfo} build/externals/nx_tzdb/${tzinfoVersion}.zip ''; # This must be done after cmake finishes as it overwrites the file |