python3Packages.pythonix: 0.1.6 -> 0.1.7, fix python module

Pythonix uses the same python as meson, so we need to override
meson to use the right python version or the module won't import.

Also added a pythonImportsCheck to prevent regressions.

Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
This commit is contained in:
Ryan Burns
2021-01-03 00:53:00 -08:00
co-authored by Jörg Thalheim
parent 52a4a170b9
commit f3074391a1
2 changed files with 16 additions and 5 deletions
+4 -1
View File
@@ -6007,7 +6007,10 @@ in {
pythonIRClib = callPackage ../development/python-modules/pythonirclib { };
pythonix = callPackage ../development/python-modules/pythonix { inherit (pkgs) meson pkgconfig; };
pythonix = callPackage ../development/python-modules/pythonix {
inherit (pkgs) pkg-config;
meson = pkgs.meson.override { python3 = self.python; };
};
python-jenkins = callPackage ../development/python-modules/python-jenkins { };