python.pkgs.imread: inherit native libs on callsite

this avoids potential namespace collisions between python libs
and packages from all-packags.nix:

https://github.com/NixOS/nixpkgs/pull/61033#issuecomment-489926103
This commit is contained in:
Jörg Thalheim 2019-05-07 07:32:41 +01:00
parent 6bcc5e2080
commit a3f8a25ab3
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4

View file

@ -2028,7 +2028,9 @@ in {
immutables = callPackage ../development/python-modules/immutables {};
imread = callPackage ../development/python-modules/imread { };
imread = callPackage ../development/python-modules/imread {
inherit (pkgs) pkgconfig libjpeg libpng libtiff libwebp;
};
imaplib2 = callPackage ../development/python-modules/imaplib2 { };