summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Mayer <tobim@fastmail.fm>2023-08-27 08:02:15 +0200
committerTobias Mayer <tobim@fastmail.fm>2023-09-04 21:01:50 +0200
commit383550ca69371b8fee35cfc602b862574cbeabb0 (patch)
tree7d6b6cf40ca3f8ff484cfbf435ec0efa6510854a
parentnheko: fix build with fmt-10.1 (diff)
downloadnixpkgs-383550ca69371b8fee35cfc602b862574cbeabb0.tar.gz
lokinet: build with fmt9
-rw-r--r--pkgs/applications/networking/p2p/lokinet/default.nix11
1 files 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