summary refs log tree commit diff
path: root/pkgs/applications/misc/logseq/default.nix
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-08-01 22:22:58 +0200
committerGitHub <noreply@github.com>2023-08-01 22:22:58 +0200
commit1039b65783300f9f8d1eeb8cbfc5fa2b93e99dce (patch)
treef4cc177265b88735a208e02c18b4dae3c6a6d621 /pkgs/applications/misc/logseq/default.nix
parent927401d3c9c309e4aa0bbebd03a461824a87adbf (diff)
parent8764644b3efc3850e2791c814a0e0317076ea162 (diff)
downloadnixpkgs-1039b65783300f9f8d1eeb8cbfc5fa2b93e99dce.tar
nixpkgs-1039b65783300f9f8d1eeb8cbfc5fa2b93e99dce.tar.gz
nixpkgs-1039b65783300f9f8d1eeb8cbfc5fa2b93e99dce.tar.bz2
nixpkgs-1039b65783300f9f8d1eeb8cbfc5fa2b93e99dce.tar.lz
nixpkgs-1039b65783300f9f8d1eeb8cbfc5fa2b93e99dce.tar.xz
nixpkgs-1039b65783300f9f8d1eeb8cbfc5fa2b93e99dce.tar.zst
nixpkgs-1039b65783300f9f8d1eeb8cbfc5fa2b93e99dce.zip
Merge pull request #245586 from hall/logseq-electron-24
logseq: match upstream electron version
Diffstat (limited to 'pkgs/applications/misc/logseq/default.nix')
-rw-r--r--pkgs/applications/misc/logseq/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/misc/logseq/default.nix b/pkgs/applications/misc/logseq/default.nix
index 8c621bdb4a1..263b786cbf5 100644
--- a/pkgs/applications/misc/logseq/default.nix
+++ b/pkgs/applications/misc/logseq/default.nix
@@ -3,7 +3,8 @@
 , fetchurl
 , appimageTools
 , makeWrapper
-, electron
+# graphs will not sync without matching upstream's major electron version
+, electron_24
 , git
 , nix-update-script
 }:
@@ -56,7 +57,7 @@ in {
 
   postFixup = ''
     # set the env "LOCAL_GIT_DIRECTORY" for dugite so that we can use the git in nixpkgs
-    makeWrapper ${electron}/bin/electron $out/bin/${pname} \
+    makeWrapper ${electron_24}/bin/electron $out/bin/${pname} \
       --set "LOCAL_GIT_DIRECTORY" ${git} \
       --add-flags $out/share/${pname}/resources/app \
       --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \