From b92a007388508dff2b24621821a3e76a7f4057f8 Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Mon, 14 Feb 2022 20:36:04 +0100 Subject: [PATCH] overrides.pikepdf: add qpdf and pybind11 buildInputs --- overrides/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/overrides/default.nix b/overrides/default.nix index ec57f0ad8..76cc456bf 100644 --- a/overrides/default.nix +++ b/overrides/default.nix @@ -1140,6 +1140,13 @@ lib.composeManyExtensions [ } ); + pikepdf = super.pikepdf.overridePythonAttrs ( + old: { + buildInputs = old.buildInputs or [ ] ++ [ pkgs.qpdf self.pybind11 ]; + pythonImportsCheck = old.pythonImportsCheck or [ ] ++ [ "pikepdf" ]; + } + ); + pillow = super.pillow.overridePythonAttrs ( old: { nativeBuildInputs = [ pkg-config self.pytest-runner ] ++ (old.nativeBuildInputs or [ ]);