appflowy: fix error xdg-user-dir not found

This commit is contained in:
DarkOnion0 2022-02-23 19:00:41 +01:00
parent 329898d260
commit c3ebb0fb50

View File

@ -46,13 +46,14 @@ stdenv.mkDerivation rec {
''; '';
preFixup = let preFixup = let
libPath = lib.makeLibraryPath [ binPath = lib.makeBinPath [
xdg-user-dirs xdg-user-dirs
]; ];
in '' in ''
# Add missing libraries to appflowy using the ones it comes with # Add missing libraries to appflowy using the ones it comes with
makeWrapper $out/opt/app_flowy $out/bin/appflowy \ 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 = [ desktopItems = [