diff --git a/pkgs/development/python-modules/moderngl/default.nix b/pkgs/development/python-modules/moderngl/default.nix index 447d2b00b019..461a4a39e88a 100644 --- a/pkgs/development/python-modules/moderngl/default.nix +++ b/pkgs/development/python-modules/moderngl/default.nix @@ -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;