Unverified Commit 24900894 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

mujoco: add missing libGL to propagatedBuildInputs (#500777)

parents ca5ca783 32e0cc18
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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)