mission-center: fix libGL.so not found

This commit is contained in:
linsui 2023-11-20 22:51:11 +08:00
parent adfb317bf5
commit 248fceed0e

View File

@ -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