nixpkgs
36354c77 - python3Packages.pymupdf: propagated mupdf-cxx in such a way that it won't be filtered out

Commit
332 days ago
python3Packages.pymupdf: propagated mupdf-cxx in such a way that it won't be filtered out Otherwise, we end up in this situation where this derivation works: ```nix { pkgs ? import ./. { } }: pkgs.runCommand "driver" { buildInputs = [ pkgs.python3Packages.pymupdf ]; } '' python -c 'import pymupdf;' > $out '' ``` ... but this ostensibly identical derivation fails. ```nix { pkgs ? import ./. { } }: pkgs.runCommand "driver" { buildInputs = [ pkgs.python3.withPackages (ps: [ ps.pymupdf ]; } '' python -c 'import pymupdf;' > $out '' ``` What's happening is that the propagated input `mupdf-cxx` doesn't pass the filter check in `requiredPythonModules` as it does not have a Python module as defined in that function. Now, it does. Huge thanks to hexa who debugged this with me on Matrix. Co-authored-by: Martin Weinelt <hexa@darmstadt.ccc.de>
Author
Parents
Loading