From 383550ca69371b8fee35cfc602b862574cbeabb0 Mon Sep 17 00:00:00 2001 From: Tobias Mayer Date: Sun, 27 Aug 2023 08:02:15 +0200 Subject: [PATCH] lokinet: build with fmt9 --- pkgs/applications/networking/p2p/lokinet/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/p2p/lokinet/default.nix b/pkgs/applications/networking/p2p/lokinet/default.nix index 574380ed697d..f77323d2bcf6 100644 --- a/pkgs/applications/networking/p2p/lokinet/default.nix +++ b/pkgs/applications/networking/p2p/lokinet/default.nix @@ -8,13 +8,20 @@ , nlohmann_json , pkg-config , spdlog +, fmt_9 , sqlite , systemd , unbound , zeromq }: +let + # Upstream has received reports of incompatibilities with fmt, and other + # dependencies, see: https://github.com/oxen-io/lokinet/issues/2200. + spdlog' = spdlog.override { + fmt = fmt_9; + }; -stdenv.mkDerivation rec { +in stdenv.mkDerivation rec { pname = "lokinet"; version = "0.9.11"; @@ -36,7 +43,7 @@ stdenv.mkDerivation rec { libuv libsodium nlohmann_json - spdlog + spdlog' sqlite systemd unbound