From 4242f3f1979d5fd41186b7dc8ae186238964f073 Mon Sep 17 00:00:00 2001 From: legendofmiracles Date: Tue, 19 Oct 2021 21:58:50 -0600 Subject: [PATCH] python3Packages.pygit2: fix cross-compilation --- pkgs/development/python-modules/pygit2/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/pygit2/default.nix b/pkgs/development/python-modules/pygit2/default.nix index d0cd948bdcde..27bfcff16d81 100644 --- a/pkgs/development/python-modules/pygit2/default.nix +++ b/pkgs/development/python-modules/pygit2/default.nix @@ -21,6 +21,8 @@ buildPythonPackage rec { cached-property ] ++ lib.optional (!isPyPy) cffi; + propagatedNativeBuildInputs = lib.optional (!isPyPy) cffi; + checkInputs = [ pytestCheckHook ]; preCheck = ''