ghostwriter: add run-time dependencies to PATH

authored by

Robert Schütz and committed by
erictapen
4ba70da8 22ea812b

+17 -1
+17 -1
pkgs/applications/editors/ghostwriter/default.nix
··· 1 - { lib, stdenv, mkDerivation, fetchFromGitHub, qmake, pkg-config, qttools, qtwebengine, hunspell }: 1 + { lib 2 + , stdenv 3 + , mkDerivation 4 + , fetchFromGitHub 5 + , qmake 6 + , pkg-config 7 + , qttools 8 + , qtwebengine 9 + , hunspell 10 + , cmark 11 + , multimarkdown 12 + , pandoc 13 + }: 2 14 3 15 mkDerivation rec { 4 16 pname = "ghostwriter"; ··· 14 26 nativeBuildInputs = [ qmake pkg-config qttools ]; 15 27 16 28 buildInputs = [ qtwebengine hunspell ]; 29 + 30 + qtWrapperArgs = [ 31 + "--prefix" "PATH" ":" (lib.makeBinPath [ cmark multimarkdown pandoc ]) 32 + ]; 17 33 18 34 meta = with lib; { 19 35 description = "A cross-platform, aesthetic, distraction-free Markdown editor";