at master 662 B view raw
1{ 2 qtModule, 3 qtdeclarative, 4 qtbase, 5 qttools, 6}: 7 8qtModule { 9 pname = "qtdoc"; 10 # avoid fix-qt-builtin-paths hook substitute QT_INSTALL_DOCS to qtdoc's path 11 postPatch = '' 12 for file in $(grep -rl '$QT_INSTALL_DOCS'); do 13 substituteInPlace $file \ 14 --replace '$QT_INSTALL_DOCS' "${qtbase}/share/doc" 15 done 16 ''; 17 nativeBuildInputs = [ (qttools.override { withClang = true; }) ]; 18 propagatedBuildInputs = [ qtdeclarative ]; 19 cmakeFlags = [ 20 "-DCMAKE_MESSAGE_LOG_LEVEL=STATUS" 21 ]; 22 dontUseNinjaBuild = true; 23 buildFlags = [ "docs" ]; 24 dontUseNinjaInstall = true; 25 installFlags = [ "install_docs" ]; 26 outputs = [ "out" ]; 27}