logseq: Add libstdc++ to the wrapper

When launching logseq, it outputs Error: libstdc++.so.6: cannot open
shared object file but, continues operatiing. This makes the log message
disappear but does not seem to change its ability to function.
This commit is contained in:
Brendan Tobolaski 2023-05-05 19:49:24 -05:00 committed by Weijia Wang
parent 08ba5ce824
commit 19bb652ec2

View file

@ -56,7 +56,8 @@ stdenv.mkDerivation rec {
makeWrapper ${electron}/bin/electron $out/bin/${pname} \
--set "LOCAL_GIT_DIRECTORY" ${git} \
--add-flags $out/share/${pname}/resources/app \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}"
'';
passthru.updateScript = nix-update-script { };