Logseq: Difference between revisions
imported>Saltrocks Fix for full-text search problem. |
m Move to Application Category |
||
(One intermediate revision by one other user not shown) | |||
Line 26: | Line 26: | ||
Source: [https://github.com/NixOS/nixpkgs/issues/230212#issuecomment-1544083194 GitHub Issue #230212] | Source: [https://github.com/NixOS/nixpkgs/issues/230212#issuecomment-1544083194 GitHub Issue #230212] | ||
[[Category: Applications]] |
Latest revision as of 21:44, 3 April 2024
Issues
Fixing full-text search
Add the following overlay to Home Manager or configuration.nix
nixpkgs.overlays = [
(
final: prev: {
logseq = prev.logseq.overrideAttrs (oldAttrs: {
postFixup = ''
makeWrapper ${prev.electron_20}/bin/electron $out/bin/${oldAttrs.pname} \
--set "LOCAL_GIT_DIRECTORY" ${prev.git} \
--add-flags $out/share/${oldAttrs.pname}/resources/app \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
--prefix LD_LIBRARY_PATH : "${prev.lib.makeLibraryPath [ prev.stdenv.cc.cc.lib ]}"
'';
});
}
)
];
Source: GitHub Issue #230212