pkgs/applications/misc/logseq 0.6.6 -> 0.6.8

This bumps Logseq to the latest version and also addresses #167967 by
adding git to the PATH via makeWrapper.
This commit is contained in:
Aaron Bieber 2022-05-09 19:45:38 -06:00
parent 189af8d922
commit 558f0c2e61

View file

@ -1,12 +1,12 @@
{ lib, stdenv, fetchurl, appimageTools, makeWrapper, autoPatchelfHook, electron, curl, expat, gcc, openssl, zlib }:
{ lib, stdenv, fetchurl, appimageTools, makeWrapper, autoPatchelfHook, electron, git, curl, expat, gcc, openssl, zlib }:
stdenv.mkDerivation rec {
pname = "logseq";
version = "0.6.6";
version = "0.6.8";
src = fetchurl {
url = "https://github.com/logseq/logseq/releases/download/${version}/logseq-linux-x64-${version}.AppImage";
sha256 = "r6IBvhA8H8XnMIBgZZodyU61xtqNA4N9kCRv/QWQc9M=";
sha256 = "QPbH7d2RC8DLze44Q3gCQ9IzHOgIq8IB+hZr9+8rTs0=";
name = "${pname}-${version}.AppImage";
};
@ -38,6 +38,7 @@ stdenv.mkDerivation rec {
postFixup = ''
makeWrapper ${electron}/bin/electron $out/bin/${pname} \
--prefix PATH : ${lib.makeBinPath [ git ]} \
--add-flags $out/share/${pname}/resources/app
'';