diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-03-02 13:04:52 +0100 |
---|---|---|
committer | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-03-02 13:04:52 +0100 |
commit | e8a1548009ff632ec0f190c6705dd35cfabb420a (patch) | |
tree | 06d4fe2e75818403d8c87f7bc64ff5dd7a777259 /pkgs/applications/editors | |
parent | fb815e88c3358cfe8fd9058ccbd41834b9b2f864 (diff) | |
download | nixpkgs-e8a1548009ff632ec0f190c6705dd35cfabb420a.tar nixpkgs-e8a1548009ff632ec0f190c6705dd35cfabb420a.tar.gz nixpkgs-e8a1548009ff632ec0f190c6705dd35cfabb420a.tar.bz2 nixpkgs-e8a1548009ff632ec0f190c6705dd35cfabb420a.tar.lz nixpkgs-e8a1548009ff632ec0f190c6705dd35cfabb420a.tar.xz nixpkgs-e8a1548009ff632ec0f190c6705dd35cfabb420a.tar.zst nixpkgs-e8a1548009ff632ec0f190c6705dd35cfabb420a.zip |
apostrophe: make texlive overrideable more easily
Now you can just build apostrophe.override { texlive = yourTexliveDist; } which makes using a custom texlive distribution possible.
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/apostrophe/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/applications/editors/apostrophe/default.nix b/pkgs/applications/editors/apostrophe/default.nix index a2030dfb9fd..dd8757d0c17 100644 --- a/pkgs/applications/editors/apostrophe/default.nix +++ b/pkgs/applications/editors/apostrophe/default.nix @@ -10,7 +10,6 @@ let regex setuptools python-Levenshtein pyenchant pygobject3 pycairo pypandoc chardet ]); - texliveDist = texlive.combined.scheme-medium; in stdenv.mkDerivation rec { pname = "apostrophe"; @@ -28,7 +27,7 @@ in stdenv.mkDerivation rec { appstream-glib wrapGAppsHook ]; buildInputs = [ glib pythonEnv gobject-introspection gtk3 - gnome3.adwaita-icon-theme webkitgtk gspell texliveDist + gnome3.adwaita-icon-theme webkitgtk gspell texlive glib-networking libhandy ]; postPatch = '' @@ -41,7 +40,7 @@ in stdenv.mkDerivation rec { preFixup = '' gappsWrapperArgs+=( --prefix PYTHONPATH : "$out/lib/python${pythonEnv.pythonVersion}/site-packages/" - --prefix PATH : "${texliveDist}/bin" + --prefix PATH : "${texlive}/bin" --prefix PATH : "${haskellPackages.pandoc-citeproc}/bin" --prefix XDG_DATA_DIRS : "${shared-mime-info}/share" ) |