Merge pull request #268732 from linsui/mission

mission-center: fix libGL.so not found
This commit is contained in:
Fabián Heredia Montiel 2023-11-20 17:25:00 +00:00 committed by GitHub
commit e89c150f61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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