Unverified Commit e2cbba54 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

pypy3Packages.brotlicffi: fix build

parent 7fe1abbd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3,9 +3,11 @@
  fetchFromGitHub,
  buildPythonPackage,
  cffi,
  isPyPy,
  # overridden as pkgs.brotli
  brotli,
  setuptools,
  pycparser,
  pytestCheckHook,
  hypothesis,
}:
@@ -28,7 +30,7 @@ buildPythonPackage rec {

  propagatedNativeBuildInputs = [ cffi ];

  dependencies = [ cffi ];
  dependencies = [ cffi ] ++ lib.optional isPyPy pycparser;

  preBuild = ''
    export USE_SHARED_BROTLI=1