From acf1c72bfceec7572b7043dd42abee0bf76dfa16 Mon Sep 17 00:00:00 2001 From: Emily Date: Wed, 13 Nov 2024 19:41:11 +0000 Subject: [PATCH] fbthrift: add note about tests --- pkgs/by-name/fb/fbthrift/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/fb/fbthrift/package.nix b/pkgs/by-name/fb/fbthrift/package.nix index f7a5d630ff12..ebc8f5c688cd 100644 --- a/pkgs/by-name/fb/fbthrift/package.nix +++ b/pkgs/by-name/fb/fbthrift/package.nix @@ -20,6 +20,7 @@ darwinMinVersionHook, mvfst, + }: stdenv.mkDerivation (finalAttrs: { @@ -64,6 +65,10 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic)) (lib.cmakeBool "thriftpy" false) + + # TODO: Can’t figure out where the C++ tests are wired up in the + # CMake build, if anywhere, and this requires Python. + #(lib.cmakeBool "enable_tests" finalAttrs.finalPackage.doCheck) ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Homebrew sets this, and the shared library build fails without