summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorDarkOnion0 <Darkgenius1@protonmail.com>2022-02-23 19:00:41 +0100
committerDarkOnion0 <Darkgenius1@protonmail.com>2022-02-23 19:00:57 +0100
commitc3ebb0fb50cbcbcf29ea67bc9d3e416cc0f69491 (patch)
tree8085852b0e48cfa16579c4a62a82c45633840b3a /pkgs/applications/office
parent329898d26069a631492efc4cf1aeb94d764b0d66 (diff)
downloadnixpkgs-c3ebb0fb50cbcbcf29ea67bc9d3e416cc0f69491.tar
nixpkgs-c3ebb0fb50cbcbcf29ea67bc9d3e416cc0f69491.tar.gz
nixpkgs-c3ebb0fb50cbcbcf29ea67bc9d3e416cc0f69491.tar.bz2
nixpkgs-c3ebb0fb50cbcbcf29ea67bc9d3e416cc0f69491.tar.lz
nixpkgs-c3ebb0fb50cbcbcf29ea67bc9d3e416cc0f69491.tar.xz
nixpkgs-c3ebb0fb50cbcbcf29ea67bc9d3e416cc0f69491.tar.zst
nixpkgs-c3ebb0fb50cbcbcf29ea67bc9d3e416cc0f69491.zip
appflowy: fix error xdg-user-dir not found
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/appflowy/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/office/appflowy/default.nix b/pkgs/applications/office/appflowy/default.nix
index 6d3b9183f44..08d5d9ce361 100644
--- a/pkgs/applications/office/appflowy/default.nix
+++ b/pkgs/applications/office/appflowy/default.nix
@@ -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 = [