Unverified Commit e89c150f authored by Fabián Heredia Montiel's avatar Fabián Heredia Montiel Committed by GitHub
Browse files

Merge pull request #268732 from linsui/mission

mission-center: fix libGL.so not found
parents bb714e9b 248fceed
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -104,6 +104,9 @@ stdenv.mkDerivation rec {
  ];

  postPatch = ''
    substituteInPlace src/main.rs \
      --replace "libGL.so.1" "${libGL}/lib/libGL.so.1"

    SRC_GATHERER=$NIX_BUILD_TOP/source/src/sys_info_v2/gatherer
    SRC_GATHERER_NVTOP=$SRC_GATHERER/3rdparty/nvtop