folly: expose fmt and boost libs

This allows for people consuming these
packages to inherit the same libaries.

This is needed because the folly-config.cmake
will use `find_package` on these dependencies,
thus downstream packages should avoid potential
abi issues.

authored by Jonathan Ringer and committed by Jonathan Ringer 8d3fc481 c2cbd5c9

+7
+7
pkgs/development/libraries/folly/default.nix
··· 59 NIX_CFLAGS_COMPILE = [ "-DFOLLY_MOBILE=${if follyMobile then "1" else "0"}" "-fpermissive" ]; 60 cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ]; 61 62 meta = with lib; { 63 description = "An open-source C++ library developed and used at Facebook"; 64 homepage = "https://github.com/facebook/folly";
··· 59 NIX_CFLAGS_COMPILE = [ "-DFOLLY_MOBILE=${if follyMobile then "1" else "0"}" "-fpermissive" ]; 60 cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ]; 61 62 + # folly-config.cmake, will `find_package` these, thus there should be 63 + # a way to ensure abi compatibility. 64 + passthru = { 65 + inherit boost; 66 + fmt = fmt_8; 67 + }; 68 + 69 meta = with lib; { 70 description = "An open-source C++ library developed and used at Facebook"; 71 homepage = "https://github.com/facebook/folly";