1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

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 = ''
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" ];
installPhase = ''
mv _build/html $out