summary refs log tree commit diff
path: root/pkgs/applications/networking/p2p
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 /pkgs/applications/networking/p2p
parent05a33a501552095d3fb0fcd9f5ce4506fa9c8ad4 (diff)
downloadnixpkgs-383550ca69371b8fee35cfc602b862574cbeabb0.tar
nixpkgs-383550ca69371b8fee35cfc602b862574cbeabb0.tar.gz
nixpkgs-383550ca69371b8fee35cfc602b862574cbeabb0.tar.bz2
nixpkgs-383550ca69371b8fee35cfc602b862574cbeabb0.tar.lz
nixpkgs-383550ca69371b8fee35cfc602b862574cbeabb0.tar.xz
nixpkgs-383550ca69371b8fee35cfc602b862574cbeabb0.tar.zst
nixpkgs-383550ca69371b8fee35cfc602b862574cbeabb0.zip
lokinet: build with fmt9
Diffstat (limited to 'pkgs/applications/networking/p2p')
-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 574380ed697..f77323d2bcf 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