servant: generate docs using python3

This commit is contained in:
Domen Kožar 2020-10-29 16:21:57 +01:00
parent 412c9c883b
commit 59c53bc62e
No known key found for this signature in database
GPG Key ID: C2FFBCAFD2C24246

View File

@ -694,7 +694,7 @@ self: super: {
postPatch = '' postPatch = ''
substituteInPlace conf.py --replace "'.md': CommonMarkParser," "" substituteInPlace conf.py --replace "'.md': CommonMarkParser," ""
''; '';
nativeBuildInputs = with pkgs.buildPackages.pythonPackages; [ sphinx recommonmark sphinx_rtd_theme ]; nativeBuildInputs = with pkgs.buildPackages.python3Packages; [ sphinx recommonmark sphinx_rtd_theme ];
makeFlags = [ "html" ]; makeFlags = [ "html" ];
installPhase = '' installPhase = ''
mv _build/html $out mv _build/html $out