summary refs log tree commit diff
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-08-01 22:15:05 +0200
committerGitHub <noreply@github.com>2023-08-01 22:15:05 +0200
commit4f2baa1d29ecbf4ddc8bf94b2cd94fa257a184ea (patch)
tree39771404cc6f49e4803c033a1d45345e8ecdc910
parent23332e13fe1690a84169335db7736cd4657e596a (diff)
parent19bb652ec2dcbc66efd74e6cefc11e1b56a4cb33 (diff)
downloadnixpkgs-4f2baa1d29ecbf4ddc8bf94b2cd94fa257a184ea.tar
nixpkgs-4f2baa1d29ecbf4ddc8bf94b2cd94fa257a184ea.tar.gz
nixpkgs-4f2baa1d29ecbf4ddc8bf94b2cd94fa257a184ea.tar.bz2
nixpkgs-4f2baa1d29ecbf4ddc8bf94b2cd94fa257a184ea.tar.lz
nixpkgs-4f2baa1d29ecbf4ddc8bf94b2cd94fa257a184ea.tar.xz
nixpkgs-4f2baa1d29ecbf4ddc8bf94b2cd94fa257a184ea.tar.zst
nixpkgs-4f2baa1d29ecbf4ddc8bf94b2cd94fa257a184ea.zip
Merge pull request #230234 from btobolaski/logseq-fix-missing-libstdc++.so.6
logseq: Add libstdc++ to the wrapper
-rw-r--r--pkgs/applications/misc/logseq/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/misc/logseq/default.nix b/pkgs/applications/misc/logseq/default.nix
index 01b8cab1576..8c621bdb4a1 100644
--- a/pkgs/applications/misc/logseq/default.nix
+++ b/pkgs/applications/misc/logseq/default.nix
@@ -59,7 +59,8 @@ in {
     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 { };