···11+diff --git a/django/conf/__init__.py b/django/conf/__init__.py
22+index cb70a71791..5156f7dd73 100644
33+--- a/django/conf/__init__.py
44++++ b/django/conf/__init__.py
55+@@ -227,7 +227,7 @@ class Settings:
66+ if hasattr(time, "tzset") and self.TIME_ZONE:
77+ # When we can, attempt to validate the timezone. If we can't find
88+ # this file, no check happens and it's harmless.
99+- zoneinfo_root = Path("/usr/share/zoneinfo")
1010++ zoneinfo_root = Path("@zoneinfo@")
1111+ zone_info_file = zoneinfo_root.joinpath(*self.TIME_ZONE.split("/"))
1212+ if zoneinfo_root.exists() and not zone_info_file.exists():
1313+ raise ValueError("Incorrect timezone setting: %s" % self.TIME_ZONE)
···2424 fi
2525 done
2626 '';
2727+ meta = {
2828+ # ihaskell has an indirect dependency on the Python package mistune, which
2929+ # is marked insecure.
3030+ hydraPlatforms = lib.platforms.none;
3131+ };
2732}
···157157 };
158158 ghc941 = callPackage ../development/compilers/ghc/9.4.1.nix {
159159 bootPkgs =
160160- # TODO(@sternenseemann): Package 9.0.2 bindist or wait for upstream fix
161161- # Need to use 902 due to
160160+ # Building with 9.2 is broken due to
162161 # https://gitlab.haskell.org/ghc/ghc/-/issues/21914
163163- packages.ghc902;
162162+ # Use 8.10 as a workaround where possible to keep bootstrap path short.
163163+164164+ # On ARM text won't build with GHC 8.10.*
165165+ if stdenv.hostPlatform.isAarch then
166166+ # TODO(@sternenseemann): package bindist
167167+ packages.ghc902
168168+ # No suitable bindists for powerpc64le
169169+ else if stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isLittleEndian then
170170+ packages.ghc902
171171+ else
172172+ packages.ghc8107Binary;
164173 inherit (buildPackages.python3Packages) sphinx;
165174 # Need to use apple's patched xattr until
166175 # https://github.com/xattr/xattr/issues/44 and