appflowy: fix error xdg-user-dir not found
This commit is contained in:
parent
329898d260
commit
c3ebb0fb50
1 changed files with 3 additions and 2 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue