appflowy: fix error xdg-user-dir not found
This commit is contained in:
parent
329898d260
commit
c3ebb0fb50
@ -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 = [
|
||||||
|
Loading…
Reference in New Issue
Block a user