mujoco: add missing libGL to propagatedBuildInputs (#500777)

This commit is contained in:
Gaétan Lepage
2026-03-19 17:54:13 +00:00
committed by GitHub
+6
View File
@@ -6,6 +6,7 @@
gitMinimal,
fetchFromGitLab,
glfw,
libGL,
glm,
spdlog,
cereal,
@@ -109,6 +110,11 @@ stdenv.mkDerivation (finalAttrs: {
glfw
];
propagatedBuildInputs = [
# consuming MuJoCo through cmake find_package requires libGL
libGL
];
cmakeFlags = [
(lib.cmakeBool "MUJOCO_SIMULATE_USE_SYSTEM_GLFW" true)
(lib.cmakeBool "MUJOCO_SAMPLES_USE_SYSTEM_GLFW" true)