edopro: Fix build after fmt bump
fmt::localtime was dropped, apply upstream patch.
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
fetchzip,
|
fetchzip,
|
||||||
makeWrapper,
|
makeWrapper,
|
||||||
premake5,
|
premake5,
|
||||||
@@ -216,6 +217,16 @@ let
|
|||||||
sqlite
|
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
|
# nixpkgs' gcc stack currently appears to not support LTO
|
||||||
# Override where bundled ocgcore get looked up in, so we can supply ours
|
# 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)
|
# (can't use --prebuilt-core or let it build a core on its own without making core updates impossible)
|
||||||
|
|||||||
Reference in New Issue
Block a user