diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/p2p/lokinet/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/networking/p2p/lokinet/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/networking/p2p/lokinet/default.nix b/nixpkgs/pkgs/applications/networking/p2p/lokinet/default.nix index f77323d2bcf6..00db925c5dac 100644 --- a/nixpkgs/pkgs/applications/networking/p2p/lokinet/default.nix +++ b/nixpkgs/pkgs/applications/networking/p2p/lokinet/default.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchFromGitHub +, fetchpatch , cmake , libevent , libsodium @@ -33,6 +34,15 @@ in stdenv.mkDerivation rec { hash = "sha256-aVFLDGTbRUOw2XWDpl+ojwHBG7c0miGeoKMLwMpqVtg="; }; + patches = [ + # Fix gcc-13 compatibility: + (fetchpatch { + name = "gcc-13.patch"; + url = "https://github.com/oxen-io/lokinet/commit/89c5c73be48788ba14a55cb6d82d57208b487eaf.patch"; + hash = "sha256-yCy4WXs6p67TMe4uPNAuQyJvtP3IbpJS81AeomNu9lU="; + }) + ]; + nativeBuildInputs = [ cmake pkg-config |