mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
dblatex: use python2
This commit is contained in:
parent
1d31efa695
commit
b08c00f67d
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, python, libxslt, texlive
|
||||
{ stdenv, fetchurl, python2, libxslt, texlive
|
||||
, enableAllFeatures ? false, imagemagick ? null, transfig ? null, inkscape ? null, fontconfig ? null, ghostscript ? null
|
||||
|
||||
, tex ? texlive.combine { # satisfy all packages that ./configure mentions
|
||||
|
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0bkjgrn03dy5c7438s429wnv6z5ynxkr4pbhp2z49kynskgkzkjr";
|
||||
};
|
||||
|
||||
buildInputs = [ python libxslt tex ]
|
||||
buildInputs = [ python2 libxslt tex ]
|
||||
++ stdenv.lib.optionals enableAllFeatures [ imagemagick transfig ];
|
||||
|
||||
# TODO: dblatex tries to execute texindy command, but nixpkgs doesn't have
|
||||
|
@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
|
|||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
python ./setup.py install --prefix="$out" --use-python-path --verbose
|
||||
${python2.interpreter} ./setup.py install --prefix="$out" --use-python-path --verbose
|
||||
'';
|
||||
|
||||
passthru = { inherit tex; };
|
||||
|
|
Loading…
Reference in a new issue