python313Packages.pyglm: fix build

Tom Hunze 1dc34c19 06c99c29

Changed files
+9 -1
pkgs
development
python-modules
pyglm
+9 -1
pkgs/development/python-modules/pyglm/default.nix
···
nativeCheckInputs = [ pytestCheckHook ];
-
pythonImportsCheck = [ "glm" ];
meta = with lib; {
homepage = "https://github.com/Zuzu-Typ/PyGLM";
···
nativeCheckInputs = [ pytestCheckHook ];
+
# Having the source root in `sys.path` causes import issues
+
preCheck = ''
+
cd test
+
'';
+
+
pythonImportsCheck = [
+
"pyglm"
+
"glm"
+
];
meta = with lib; {
homepage = "https://github.com/Zuzu-Typ/PyGLM";