lyx: use python3

This commit is contained in:
Frederik Rietdijk 2021-07-27 17:17:17 +02:00
parent a313d4c338
commit fce33c36b1

View file

@ -1,4 +1,4 @@
{ fetchurl, lib, mkDerivation, pkg-config, python, file, bc { fetchurl, lib, mkDerivation, pkg-config, python3, file, bc
, qtbase, qtsvg, hunspell, makeWrapper #, mythes, boost , qtbase, qtsvg, hunspell, makeWrapper #, mythes, boost
}: }:
@ -14,7 +14,7 @@ mkDerivation rec {
# LaTeX is used from $PATH, as people often want to have it with extra pkgs # LaTeX is used from $PATH, as people often want to have it with extra pkgs
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ buildInputs = [
qtbase qtsvg python file/*for libmagic*/ bc qtbase qtsvg python3 file/*for libmagic*/ bc
hunspell makeWrapper # enchant hunspell makeWrapper # enchant
]; ];
@ -31,7 +31,7 @@ mkDerivation rec {
# python is run during runtime to do various tasks # python is run during runtime to do various tasks
qtWrapperArgs = [ qtWrapperArgs = [
" --prefix PATH : ${python}/bin" " --prefix PATH : ${python3}/bin"
]; ];
meta = with lib; { meta = with lib; {