logseq: 0.9.19 -> 0.9.20
https://github.com/logseq/logseq/releases/tag/0.9.20
This commit is contained in:
parent
5363991a6f
commit
c52843c967
1 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
||||||
, appimageTools
|
, appimageTools
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
# graphs will not sync without matching upstream's major electron version
|
# graphs will not sync without matching upstream's major electron version
|
||||||
, electron_24
|
, electron_25
|
||||||
, git
|
, git
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
}:
|
}:
|
||||||
|
@ -14,11 +14,11 @@ stdenv.mkDerivation (finalAttrs: let
|
||||||
|
|
||||||
in {
|
in {
|
||||||
pname = "logseq";
|
pname = "logseq";
|
||||||
version = "0.9.19";
|
version = "0.9.20";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/logseq/logseq/releases/download/${version}/logseq-linux-x64-${version}.AppImage";
|
url = "https://github.com/logseq/logseq/releases/download/${version}/logseq-linux-x64-${version}.AppImage";
|
||||||
hash = "sha256-Y3AeeJc+PYJdckpOma5ZDbVtBbjBTfNNDqTip4l02/E=";
|
hash = "sha256-iT0Gc/ePx1tUNTPoE2Ol+dHUmbS4CkneZbyraRBx5Ak=";
|
||||||
name = "${pname}-${version}.AppImage";
|
name = "${pname}-${version}.AppImage";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ in {
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
# set the env "LOCAL_GIT_DIRECTORY" for dugite so that we can use the git in nixpkgs
|
# set the env "LOCAL_GIT_DIRECTORY" for dugite so that we can use the git in nixpkgs
|
||||||
makeWrapper ${electron_24}/bin/electron $out/bin/${pname} \
|
makeWrapper ${electron_25}/bin/electron $out/bin/${pname} \
|
||||||
--set "LOCAL_GIT_DIRECTORY" ${git} \
|
--set "LOCAL_GIT_DIRECTORY" ${git} \
|
||||||
--add-flags $out/share/${pname}/resources/app \
|
--add-flags $out/share/${pname}/resources/app \
|
||||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
|
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \
|
||||||
|
|
Loading…
Reference in a new issue