ghostwriter: add run-time dependencies to PATH
This commit is contained in:
parent
22ea812bff
commit
4ba70da807
@ -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 {
|
mkDerivation rec {
|
||||||
pname = "ghostwriter";
|
pname = "ghostwriter";
|
||||||
@ -15,6 +27,10 @@ mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ qtwebengine hunspell ];
|
buildInputs = [ qtwebengine hunspell ];
|
||||||
|
|
||||||
|
qtWrapperArgs = [
|
||||||
|
"--prefix" "PATH" ":" (lib.makeBinPath [ cmark multimarkdown pandoc ])
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A cross-platform, aesthetic, distraction-free Markdown editor";
|
description = "A cross-platform, aesthetic, distraction-free Markdown editor";
|
||||||
homepage = src.meta.homepage;
|
homepage = src.meta.homepage;
|
||||||
|
Loading…
Reference in New Issue
Block a user