diff options
author | Brendan Tobolaski <brendan@tobolaski.com> | 2023-05-05 19:49:24 -0500 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-08-01 20:05:41 +0200 |
commit | 19bb652ec2dcbc66efd74e6cefc11e1b56a4cb33 (patch) | |
tree | 8309538ed7f2276f3ed3ecd1754037754dbf43ec | |
parent | 08ba5ce8242069d5eff966501a87d70299c6f9c2 (diff) | |
download | nixpkgs-19bb652ec2dcbc66efd74e6cefc11e1b56a4cb33.tar nixpkgs-19bb652ec2dcbc66efd74e6cefc11e1b56a4cb33.tar.gz nixpkgs-19bb652ec2dcbc66efd74e6cefc11e1b56a4cb33.tar.bz2 nixpkgs-19bb652ec2dcbc66efd74e6cefc11e1b56a4cb33.tar.lz nixpkgs-19bb652ec2dcbc66efd74e6cefc11e1b56a4cb33.tar.xz nixpkgs-19bb652ec2dcbc66efd74e6cefc11e1b56a4cb33.tar.zst nixpkgs-19bb652ec2dcbc66efd74e6cefc11e1b56a4cb33.zip |
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.
-rw-r--r-- | pkgs/applications/misc/logseq/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/misc/logseq/default.nix b/pkgs/applications/misc/logseq/default.nix index fbcf4c97b47..a0f908e8437 100644 --- a/pkgs/applications/misc/logseq/default.nix +++ b/pkgs/applications/misc/logseq/default.nix @@ -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 { }; |