summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos
diff options
context:
space:
mode:
authorPhilip Taron <philip.taron@gmail.com>2025-05-30 15:59:10 -0700
committerPhilip Taron <philip.taron@gmail.com>2025-05-30 15:59:10 -0700
commit36354c7702e0a3436d024f4cc5ef1bfb07661526 (patch)
tree00f7823f9188c6380af94e997c9e891f398f4576 /pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos
parentbf9f4a1bcf1bc9e17aea91f5e485a8d993fdb1c2 (diff)
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>
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos')
0 files changed, 0 insertions, 0 deletions