diff --git a/pkgs/applications/editors/ghostwriter/default.nix b/pkgs/applications/editors/ghostwriter/default.nix index f5d13442cce8..fdada2e7769a 100644 --- a/pkgs/applications/editors/ghostwriter/default.nix +++ b/pkgs/applications/editors/ghostwriter/default.nix @@ -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;