about summary refs log tree commit diff
path: root/pkgs/development/libraries/folly/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/folly/default.nix')
-rw-r--r--pkgs/development/libraries/folly/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/libraries/folly/default.nix b/pkgs/development/libraries/folly/default.nix
index 69e690011b8ad..0ef5dfbc2e570 100644
--- a/pkgs/development/libraries/folly/default.nix
+++ b/pkgs/development/libraries/folly/default.nix
@@ -59,6 +59,13 @@ stdenv.mkDerivation rec {
   NIX_CFLAGS_COMPILE = [ "-DFOLLY_MOBILE=${if follyMobile then "1" else "0"}" "-fpermissive" ];
   cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
 
+  # folly-config.cmake, will `find_package` these, thus there should be
+  # a way to ensure abi compatibility.
+  passthru = {
+    inherit boost;
+    fmt = fmt_8;
+  };
+
   meta = with lib; {
     description = "An open-source C++ library developed and used at Facebook";
     homepage = "https://github.com/facebook/folly";