python3Packages.sphinxcontrib-tikz: replace texlive.combine with texliveSmall.withPackages
This commit is contained in:
parent
2e4e6991ac
commit
32be122447
@ -3,7 +3,7 @@
|
||||
, fetchPypi
|
||||
, sphinx
|
||||
, pdf2svg
|
||||
, texLive
|
||||
, texliveSmall
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace sphinxcontrib/tikz.py \
|
||||
--replace "config.latex_engine" "'${texLive}/bin/pdflatex'" \
|
||||
--replace "config.latex_engine" "'${texliveSmall.withPackages (ps: with ps; [ standalone pgfplots ])}/bin/pdflatex'" \
|
||||
--replace "system(['pdf2svg'" "system(['${pdf2svg}/bin/pdf2svg'"
|
||||
'';
|
||||
|
||||
|
@ -13244,9 +13244,7 @@ self: super: with self; {
|
||||
|
||||
sphinxcontrib-spelling = callPackage ../development/python-modules/sphinxcontrib-spelling { };
|
||||
|
||||
sphinxcontrib-tikz = callPackage ../development/python-modules/sphinxcontrib-tikz {
|
||||
texLive = pkgs.texlive.combine { inherit (pkgs.texlive) scheme-small standalone pgfplots; };
|
||||
};
|
||||
sphinxcontrib-tikz = callPackage ../development/python-modules/sphinxcontrib-tikz { };
|
||||
|
||||
sphinxcontrib-wavedrom = callPackage ../development/python-modules/sphinxcontrib-wavedrom { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user