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 }: 2 3 mkDerivation rec { 4 pname = "ghostwriter"; ··· 14 nativeBuildInputs = [ qmake pkg-config qttools ]; 15 16 buildInputs = [ qtwebengine hunspell ]; 17 18 meta = with lib; { 19 description = "A cross-platform, aesthetic, distraction-free Markdown editor";
··· 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 + }: 14 15 mkDerivation rec { 16 pname = "ghostwriter"; ··· 26 nativeBuildInputs = [ qmake pkg-config qttools ]; 27 28 buildInputs = [ qtwebengine hunspell ]; 29 + 30 + qtWrapperArgs = [ 31 + "--prefix" "PATH" ":" (lib.makeBinPath [ cmark multimarkdown pandoc ]) 32 + ]; 33 34 meta = with lib; { 35 description = "A cross-platform, aesthetic, distraction-free Markdown editor";