diff --git a/pkgs/applications/networking/p2p/retroshare/cpp-filesystem.patch b/pkgs/applications/networking/p2p/retroshare/cpp-filesystem.patch new file mode 100644 index 000000000000..e9aa64e2871a --- /dev/null +++ b/pkgs/applications/networking/p2p/retroshare/cpp-filesystem.patch @@ -0,0 +1,12 @@ +diff --git a/libretroshare/src/util/rsdir.cc b/libretroshare/src/util/rsdir.cc +index 8556b8198..d63699216 100644 +--- a/libretroshare/src/util/rsdir.cc ++++ b/libretroshare/src/util/rsdir.cc +@@ -47,6 +47,7 @@ + + #include + #include ++#include + + #if defined(WIN32) || defined(__CYGWIN__) + #include "util/rsstring.h" diff --git a/pkgs/applications/networking/p2p/retroshare/default.nix b/pkgs/applications/networking/p2p/retroshare/default.nix index 7a213b880348..680905e42bca 100644 --- a/pkgs/applications/networking/p2p/retroshare/default.nix +++ b/pkgs/applications/networking/p2p/retroshare/default.nix @@ -19,6 +19,7 @@ mkDerivation rec { # The build normally tries to get git sub-modules during build # but we already have them checked out ./no-submodules.patch + ./cpp-filesystem.patch ]; nativeBuildInputs = [ pkg-config qmake cmake ];