python3Packages.moderngl: propagate build input glcontext

ModernGL tries to import glcontext at runtime.
This commit is contained in:
Nguyễn Gia Phong 2022-09-20 02:58:01 +09:00
parent f677051b8d
commit c838638c3e
No known key found for this signature in database
GPG key ID: 27148B2C06A2224B

View file

@ -18,7 +18,8 @@ buildPythonPackage rec {
disabled = !isPy3k;
buildInputs = [ libGL libX11 glcontext ];
buildInputs = [ libGL libX11 ];
propagatedBuildInputs = [ glcontext ];
# Tests need a display to run.
doCheck = false;