edopro: Fix build after fmt bump (#461747)

This commit is contained in:
Aleksana
2025-11-15 08:54:04 +00:00
committed by GitHub

View File

@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
fetchzip,
makeWrapper,
premake5,
@@ -216,6 +217,16 @@ let
sqlite
];
patches = [
# fmt::localtime was deprecated and removed
# Remove when version > 41.0.2
(fetchpatch {
name = "0001-edopro-No-longer-depend-on-fmt-for-localtime.patch";
url = "https://github.com/edo9300/edopro/commit/c40951ba09f8a8b88d1d4b9b15ca9338da01522c.patch";
hash = "sha256-wiZRCwSTp9/G97a+zaYjJgmDrc57/5bSBSYur1dcTfA=";
})
];
# nixpkgs' gcc stack currently appears to not support LTO
# Override where bundled ocgcore get looked up in, so we can supply ours
# (can't use --prebuilt-core or let it build a core on its own without making core updates impossible)