Merge pull request #140230 from Artturin/obsdoublewrap

This commit is contained in:
Artturi 2021-10-02 22:37:22 +03:00 committed by GitHub
commit 398ea31ceb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -121,10 +121,9 @@ mkDerivation rec {
"-DCEF_ROOT_DIR=../../cef"
];
postInstall = ''
wrapProgram $out/bin/obs \
--prefix "LD_LIBRARY_PATH" : "${xorg.libX11.out}/lib:${libvlc}/lib"
'';
qtWrapperArgs = [
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ xorg.libX11 libvlc ]}"
];
postFixup = lib.optionalString stdenv.isLinux ''
addOpenGLRunpath $out/lib/lib*.so