apostrophe: make texlive overrideable more easily
Now you can just build apostrophe.override { texlive = yourTexliveDist; } which makes using a custom texlive distribution possible.
This commit is contained in:
parent
fb815e88c3
commit
e8a1548009
@ -10,7 +10,6 @@ let
|
|||||||
regex setuptools python-Levenshtein pyenchant
|
regex setuptools python-Levenshtein pyenchant
|
||||||
pygobject3 pycairo pypandoc chardet
|
pygobject3 pycairo pypandoc chardet
|
||||||
]);
|
]);
|
||||||
texliveDist = texlive.combined.scheme-medium;
|
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "apostrophe";
|
pname = "apostrophe";
|
||||||
@ -28,7 +27,7 @@ in stdenv.mkDerivation rec {
|
|||||||
appstream-glib wrapGAppsHook ];
|
appstream-glib wrapGAppsHook ];
|
||||||
|
|
||||||
buildInputs = [ glib pythonEnv gobject-introspection gtk3
|
buildInputs = [ glib pythonEnv gobject-introspection gtk3
|
||||||
gnome3.adwaita-icon-theme webkitgtk gspell texliveDist
|
gnome3.adwaita-icon-theme webkitgtk gspell texlive
|
||||||
glib-networking libhandy ];
|
glib-networking libhandy ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -41,7 +40,7 @@ in stdenv.mkDerivation rec {
|
|||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(
|
gappsWrapperArgs+=(
|
||||||
--prefix PYTHONPATH : "$out/lib/python${pythonEnv.pythonVersion}/site-packages/"
|
--prefix PYTHONPATH : "$out/lib/python${pythonEnv.pythonVersion}/site-packages/"
|
||||||
--prefix PATH : "${texliveDist}/bin"
|
--prefix PATH : "${texlive}/bin"
|
||||||
--prefix PATH : "${haskellPackages.pandoc-citeproc}/bin"
|
--prefix PATH : "${haskellPackages.pandoc-citeproc}/bin"
|
||||||
--prefix XDG_DATA_DIRS : "${shared-mime-info}/share"
|
--prefix XDG_DATA_DIRS : "${shared-mime-info}/share"
|
||||||
)
|
)
|
||||||
|
@ -21297,6 +21297,7 @@ in
|
|||||||
|
|
||||||
apostrophe = callPackage ../applications/editors/apostrophe {
|
apostrophe = callPackage ../applications/editors/apostrophe {
|
||||||
pythonPackages = python3Packages;
|
pythonPackages = python3Packages;
|
||||||
|
texlive = texlive.combined.scheme-medium;
|
||||||
};
|
};
|
||||||
|
|
||||||
aqemu = libsForQt5.callPackage ../applications/virtualization/aqemu { };
|
aqemu = libsForQt5.callPackage ../applications/virtualization/aqemu { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user