From 558f0c2e6190c70bec60902d3beeb69bc7c6ea65 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Mon, 9 May 2022 19:45:38 -0600 Subject: [PATCH] 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. --- pkgs/applications/misc/logseq/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/logseq/default.nix b/pkgs/applications/misc/logseq/default.nix index 1fdf48ac1a0e..0d28a3820203 100644 --- a/pkgs/applications/misc/logseq/default.nix +++ b/pkgs/applications/misc/logseq/default.nix @@ -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 '';