ghostwriter: add run-time dependencies to PATH

This commit is contained in:
Robert Schütz 2021-06-27 10:59:06 +02:00 committed by erictapen
parent 22ea812bff
commit 4ba70da807

View file

@ -1,4 +1,16 @@
{ lib, stdenv, mkDerivation, fetchFromGitHub, qmake, pkg-config, qttools, qtwebengine, hunspell }:
{ lib
, stdenv
, mkDerivation
, fetchFromGitHub
, qmake
, pkg-config
, qttools
, qtwebengine
, hunspell
, cmark
, multimarkdown
, pandoc
}:
mkDerivation rec {
pname = "ghostwriter";
@ -15,6 +27,10 @@ mkDerivation rec {
buildInputs = [ qtwebengine hunspell ];
qtWrapperArgs = [
"--prefix" "PATH" ":" (lib.makeBinPath [ cmark multimarkdown pandoc ])
];
meta = with lib; {
description = "A cross-platform, aesthetic, distraction-free Markdown editor";
homepage = src.meta.homepage;