yuzu: redo timezone handling

This commit is contained in:
K900
2024-01-28 16:58:24 +03:00
parent 4c9da6057f
commit ae559567f5
2 changed files with 5 additions and 4 deletions
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, wrapQtAppsHook
, alsa-lib
@@ -154,7 +155,7 @@ stdenv.mkDerivation(finalAttrs: {
# provide pre-downloaded tz data
mkdir -p build/externals/nx_tzdb
ln -sf ${nx_tzdb} build/externals/nx_tzdb/${nx_tzdb.version}.zip
ln -s ${nx_tzdb} build/externals/nx_tzdb/nx_tzdb
'';
# This must be done after cmake finishes as it overwrites the file
+3 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, gitUpdater }:
{ stdenv, fetchurl, unzip, gitUpdater }:
stdenv.mkDerivation rec {
pname = "nx_tzdb";
version = "221202";
@@ -8,10 +8,10 @@ stdenv.mkDerivation rec {
hash = "sha256-mRzW+iIwrU1zsxHmf+0RArU8BShAoEMvCz+McXFFK3c=";
};
dontUnpack = true;
nativeBuildInputs = [ unzip ];
buildCommand = ''
cp $src $out
unzip $src -d $out
'';
passthru.updateScript = gitUpdater {