Merge pull request #161564 from DarkOnion0/master

appflowy: fix error xdg-user-dir not found
This commit is contained in:
Anderson Torres
2022-02-25 08:14:44 -03:00
committed by GitHub
@@ -46,13 +46,14 @@ stdenv.mkDerivation rec {
'';
preFixup = let
libPath = lib.makeLibraryPath [
binPath = lib.makeBinPath [
xdg-user-dirs
];
in ''
# Add missing libraries to appflowy using the ones it comes with
makeWrapper $out/opt/app_flowy $out/bin/appflowy \
--set LD_LIBRARY_PATH "$out/opt/lib/:${libPath}"
--set LD_LIBRARY_PATH "$out/opt/lib/" \
--prefix PATH : "${binPath}"
'';
desktopItems = [