Commit graph

595 commits

Author SHA1 Message Date
Vincenzo Mantova 240cc59942 texlive.combine: move dependencies to attribute tlDeps, resolve them with genericClosure 2023-04-02 13:00:52 +01:00
Vincenzo Mantova 2f7daea603 mftrace: create pkgs fixpoint for texlive using mkDerivation 2023-04-02 12:59:26 +01:00
github-actions[bot] 19c08aa1c7
Merge staging-next into staging 2023-04-01 00:03:07 +00:00
Vincenzo Mantova b459da3172
texlive.bin.core: avoid unnecessary dependency on texlinks (#222323) 2023-03-31 19:34:53 -04:00
Vincenzo Mantova 948a156291 blahtexml: 0.9+date=2020-05-16 -> 1.0 2023-03-31 18:49:08 +01:00
apfelkuchen6 a06641ba73
texlive: 2022.20221227 -> 2022-final (#222258) 2023-03-21 18:51:40 -04:00
Dmitry Kalinkin f6e067692d
Merge pull request #119362 from xworld21/texlive-combine-fix-buildenv
texlive.combine: split static $TEXMFDIST into a separate derivation
2023-03-17 02:34:17 -04:00
Vincenzo Mantova 1f2ad5bcd4 tests.texlive: check that tlpdb.nix is the one generated from the upstream texlive.tlpdb.xz 2023-03-12 21:04:39 +00:00
Vincenzo Mantova 76e92ae984 texlive: rename pkgs.nix to tlpdb.nix and generate it from Nixpkgs attribute 2023-03-12 21:04:39 +00:00
Vincenzo Mantova 76c861aaab texlive: use same urlPrefixes for tlpdb and packages 2023-03-12 21:04:26 +00:00
alyaeanyx 59ba175a2b gladtex: init at unstable-2023-01-22 2023-03-12 10:21:05 +01:00
Vincenzo Mantova 40a8b1a805 texlive.combine: use separate derivation for info and man pages 2023-03-11 21:06:54 +00:00
apfelkuchen06 bab298bf03 texlive: fix kpathsea path expansion.
When expanding path variables, kpathsea uses a trick to speed up identifying
leaf directories. The manual says

> The trick is that in every real Unix implementation (as opposed to the POSIX
> specification), a directory which contains no subdirectories will have
> exactly two links (namely, one for . and one for ..). That is to say, the
> st_nlink field in the ‘stat’ structure will be two. Thus, we don’t have to
> stat everything in the bottom-level (leaf) directories—we can just check
> st_nlink, notice it’s two, and do no more work.
>
> But if you have a directory that contains a single subdirectory and 500
> regular files, st_nlink will be 3, and Kpathsea has to stat every one of those
> 501 entries. Therein lies slowness.
>
> You can disable the trick by undefining ST_NLINK_TRICK in
> kpathsea/config.h. (It is undefined by default except under Unix.)

This does not work as expected with nixpkgs symlink trees and programs that rely
on kpathsea path expansion do not work properly.

One example is luaotfload's font database, which is populated by the font files
in the directories obtained by path-expanding the value of the `OPENTYPEFONTS`
configuration variable with kpathsea. The expanded value can be checked with
`kpsewhich --show-path="opentype fonts"`.  Before this change, the expanded
value does not include the various font directories symlinked into
`/texmf/fonts/opentype/public`, since kpathsea considers this a leaf
directory (every child is a symlink, not a directory). Hence luaotfload does
not find the fonts in the texlive installation.

This patch disables this trick.
2023-03-09 23:17:04 +01:00
Vincenzo Mantova ef15288944
texlive: use lists instead of sets to represent dependencies (#217230) 2023-02-21 12:24:08 -05:00
Ferry Jérémie bfac2d0034 treewide:replace http by https when https is a permanent redirection 2023-02-19 21:47:59 +01:00
Felix Buehler bc3d5934d7 treewide: use lib.optionals 2023-02-14 19:11:59 +01:00
Vincenzo Mantova 641fb6ab84
texlive: use looping in tl2nix (#216066) 2023-02-13 14:59:50 -05:00
Vincenzo Mantova fdf6e37dc0
advi: init at 2.0.0 (#214814)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-02-07 00:23:02 +01:00
Vincenzo Mantova a000076d58 texlive.combine: split static $TEXMFDIST into a separate derivation 2023-02-05 19:47:07 +00:00
Weijia Wang 218c4c526e
Merge pull request #212002 from mothsART/feature/replace_http_by_https
treewide: replace http by https when https is a permanent redirection
2023-01-22 03:26:02 +01:00
Ferry Jérémie 65d7e87fdb treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
Zhaofeng Li 786f0f2fcb
texlive: disable luajit on RISC-V (#211999)
Support is not yet there
2023-01-21 17:34:32 -05:00
R. Ryantm 99141a8dbd pgf3: 3.1.9a -> 3.1.10 2023-01-19 09:42:16 +00:00
Jan Tojnar 5810109b42 Merge branch 'staging-next' into staging
- readline6 attribute removed from all-packages.nix in d879125d61
- readline attribute was bumped to readline82 in 50adabdd60
2023-01-02 03:04:32 +01:00
Dmitry Kalinkin 4527d89f4e
texlive: 2021-final -> 2022.20221227 (#208313) 2022-12-30 17:47:58 -05:00
Jan Tojnar 72c37eddec Merge branch 'staging-next' into staging 2022-12-25 01:30:47 +01:00
Vincenzo Mantova 85e670d377 texlive.combine: use environment variables where possible 2022-12-18 13:53:24 +00:00
Vincenzo Mantova 31846cf133 texlive.combine: do not export redundant variables 2022-12-18 13:53:24 +00:00
Vincenzo Mantova 43e69f171d texlive.combine: use absolute paths and do not cd into $out 2022-12-18 13:53:23 +00:00
Vincenzo Mantova 24d0b421f9 texlive.combine: remove redundant call to realpath when copying epstopdf 2022-12-18 13:53:23 +00:00
Vincenzo Mantova 1d37fc5426 texlive.combine: call perl scripts directly 2022-12-18 13:53:23 +00:00
Vincenzo Mantova bbc1e62548 texlive.combine: simplify updmap linking 2022-12-18 13:53:23 +00:00
Vincenzo Mantova 589a929bae texlive.combine: avoid subshells 2022-12-18 13:53:23 +00:00
Vincenzo Mantova 9de2f02af6 texlive.combine: remove unset TEXMCNF as mtxrun is already wrapped 2022-12-18 13:53:23 +00:00
Vincenzo Mantova 2814d19a3f texlive.combine: move perl and texlinks to nativeBuildInputs 2022-12-18 13:53:23 +00:00
Vladimír Čunát 59a68f487d
Merge branch 'staging-next' into staging 2022-12-16 11:20:50 +01:00
Artturin 05a2dfd674 lib.replaceChars: warn about being a deprecated alias
replaceStrings has been in nix since 2015(nix 1.10)

so it is safe to remove the fallback

d6d5885c15
2022-12-15 22:25:51 +02:00
Robert Hensing 16f5747575
Merge pull request #175649 from Artturin/opt-in-structured-attrs
stdenv: support opt-in __structuredAttrs
2022-12-10 21:12:43 +01:00
Artturin 238a6053c4 stdenv: support opt-in __structuredAttrs
Co-authored-by: Robin Gloster <mail@glob.in>

stdenv: print message if structuredAttrs is enabled

stdenv: add _append

reduces the chance of a user doing it wrong

fix nix develop issue

output hooks don't work yet in nix develop though

making $outputs be the same on non-structuredAttrs and structuredAttrs
is too much trouble.

lets instead make a function that gets the output names

reading environment file '/nix/store/2x7m69a2sm2kh0r6v0q5s9z1dh41m4xf-xz-5.2.5-env-bin'
nix: src/nix/develop.cc:299: std::string Common::makeRcScript(nix::ref<nix::Store>, const BuildEnvironment&, const Path&): Assertion `outputs != buildEnvironment.vars.end()' failed.

use a function to get all output names instead of using $outputs

copy env functionality from https://github.com/NixOS/nixpkgs/pull/76732/commits
2022-12-08 06:13:19 +02:00
Robert Hensing d896fa5370 texlive: Use ghostscriptX -> ghostscript_headless
The code and typical use case suggest that ghostscript is not used
graphically. Removing this dependency reduces the build closure of
many tools that use texlive for documentation.

If this needs to be reverted, please state the graphical use case
in a comment, so we don't make this mistake again.
2022-12-07 12:51:33 +01:00
Arnout Engelen 87598a6ded
texlive.combined.scheme-minimal: fix build
Follow-up on #196435, fixing https://github.com/NixOS/nixpkgs/pull/196435#issuecomment-1296199290

Needed to make #198236 pass
2022-11-01 14:35:12 +01:00
github-actions[bot] 7cf1999911
Merge master into staging-next 2022-10-30 00:02:33 +00:00
AndersonTorres 59d8692255 pgf-umlsd: init at unstable-2020-05-28 2022-10-29 18:07:37 -03:00
AndersonTorres 92ed989f81 pgf-umlcd: init at 0.3 2022-10-29 17:52:05 -03:00
AndersonTorres 9c4d840c7c pgf-pie: init at 0.7 2022-10-29 17:22:41 -03:00
AndersonTorres 1a821b629b pgfplots: 1.5.1 -> 1.18.1 2022-10-29 17:22:41 -03:00
AndersonTorres 782fca13fe pgf-3.x: 3.0.0 -> 3.1.9a 2022-10-29 17:22:40 -03:00
AndersonTorres a2de5412da pgf-2.x: 2.00 -> 2.10 2022-10-29 17:22:40 -03:00
AndersonTorres c482175b03 pgf-1.x: use github source 2022-10-29 17:22:39 -03:00
Dmitry Kalinkin 508429aaac
Merge pull request #196435 from raboof/texlive
texlive: create reproducible .fmt files
2022-10-20 10:20:13 -04:00
Arnout Engelen a41ae443f6
texlive: create reproducible .fmt files
Without these changes, building this package twice does not produce the bit-by-bit identical result each time, making it harder to detect CI breaches. You can read more about this at https://reproducible-builds.org/ .

Fixing bit-by-bit reproducibility also has additional advantages, such as avoiding hard-to-reproduce bugs, making content-addressed storage more effective and reducing rebuilds in such systems.

Based on the work done in Debian and documented at
https://salsa.debian.org/live-team/live-build/-/blob/master/examples/hooks/reproducible/0139-reproducible-texlive-binaries-fmt-files.hook.chroot

Fixes #192736
2022-10-18 21:00:46 +02:00
Vladimír Čunát a338d9b3a9
Merge #185861: texlive.bin.core: fix cross-compilation
...into staging
2022-09-28 10:33:23 +02:00
Graham Christensen c2b898da76 treewide: drop -l$NIX_BUILD_CORES
Passing `-l$NIX_BUILD_CORES` improperly limits the overall system load.

For a build machine which is configured to run `$B` builds where each
build gets `total cores / B` cores (`$C`), passing `-l $C` to make will
improperly limit the load to `$C` instead of `$B * $C`.

This effect becomes quite pronounced on machines with 80 cores, with
40 simultaneous builds and a cores limit of 2. On a machine with this
configuration, Nix will run 40 builds and make will limit the overall
system load to approximately 2. A build machine with this many cores
can happily run with a load approaching 80.

A non-solution is to oversubscribe the machine, by picking a larger
`$C`. However, there is no way to divide the number of cores in a way
which fairly subdivides the available cores when `$B` is greater than
1.

There has been exploration of passing a jobserver in to the sandbox,
or sharing a jobserver between all the builds. This is one option, but
relatively complicated and only supports make. Lots of other software
uses its own implementation of `-j` and doesn't support either `-l` or
the Make jobserver.

For the case of an interactive user machine, the user should limit
overall system load using `$B`, `$C`, and optionally systemd's
cpu/network/io limiting features.

Making this change should significantly improve the utilization of our
build farm, and improve the throughput of Hydra.
2022-09-22 16:01:23 -04:00
Martin Weinelt ee2427b69e
pygmentex: build with format other 2022-09-19 16:06:08 +02:00
Artturin 4af6cbccfe texlive.bin.core: fix cross-compilation
depsBuildBuild for 'ar: command not found'

BUILDCC for failure during 'checking whether the C compiler works...'

there's still a issue but it maybe wont cause reverse dependency issues?
so overall its still an improvement

```
cd texk/texlive/tl_support && make  run-texlinks
make[1]: Entering directory '/build/texlive-20210325-source/WorkDir/texk/texlive/tl_support'
if test -s /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/texlinks && test -s /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/share/texmf-dist/web2c/fmtutil.cnf; then \
  echo "running texlinks in `pwd` via: /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/texlinks -v -f  /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/share/texmf-dist/web2c/fmtutil.cnf -e "" /nix/stor>
  PATH="/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin:/nix/store/146229z6ingpiz0g1yxs2jpq1h546ms3-gcc-wrapper-11.3.0/bin:/nix/store/sc50c3qvzlw6dmfbhxw96j9yrj47pv1v-gcc-11.3.0/bin:/nix/store/20navlfxxadg2qvkqh3vc55z27divi40-glibc-2.35-163>
else :; fi
running texlinks in /build/texlive-20210325-source/WorkDir/texk/texlive/tl_support via: /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/texlinks -v -f  /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/s>
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpsewhich: line 1: syntax error: unexpected word (expecting ")")
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 1: ^?ELF^B^A^A^B<B7>^A<80>: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 1: ^]: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 1: ^]A<B0>^B<B8>^B^A^B^Fp^]p^]Ap^]A^P^B^P^B^H^D^D<A8>^B<A8>^B@<A8>^B@: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 1: ^]A: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 2: @@<E0><9A>@8: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 5: syntax error: unterminated quoted string
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin: no write permissions. Skipping...
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 1: ^?ELF^B^A^A^B<B7>^A<80>: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 1: ^]: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 1: ^]A<B0>^B<B8>^B^A^B^Fp^]p^]Ap^]A^P^B^P^B^H^D^D<A8>^B<A8>^B@<A8>^B@: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 1: ^]A: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 2: @@<E0><9A>@8: not found
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: line 5: syntax error: unterminated quoted string
make[1]: Leaving directory '/build/texlive-20210325-source/WorkDir/texk/texlive/tl_support'
/nix/store/j00iibma3wqn88f8bi9x2c9dns3ww98v-texlinks/bin/texlinks: line 252: /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpsewhich: cannot execute binary file: Exec format error
/nix/store/j00iibma3wqn88f8bi9x2c9dns3ww98v-texlinks/bin/texlinks: line 298: /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: cannot execute binary file: Exec format error
/nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin: no write permissions. Skipping...
/nix/store/j00iibma3wqn88f8bi9x2c9dns3ww98v-texlinks/bin/texlinks: line 192: /nix/store/1hs29hn23cdh2qbyws95plk1fyhqyzpx-texlive-bin-aarch64-unknown-linux-gnu-2021/bin/kpseaccess: cannot execute binary file: Exec format error
@nix { "action": "setPhase", "phase": "fixupPhase" }
```
2022-08-10 08:09:13 +03:00
Sergei Trofimovich 58e2a18480 texlive.bin.xdvi: pull upstream darwin fix for -fno-common toolchains
Without the change build fails on upstream llvm-11 as:

    duplicate symbol '_info' in:
        libxdvi.a(font-open.o)
        libxdvi.a(print-log.o)
2022-07-02 20:48:31 +01:00
Dmitry Bogatov 01e4d1a67f
texlive.combined.basic-scheme: fix $PATH of wrapped scripts (#177826)
Fix missing sed, grep and coreutils in $PATH. Closes: #150620
2022-06-16 09:10:37 -04:00
Janne Heß 21de888352
mariadb/texlive: Lowercase nixos.org
Capitalized URLs look weird and this makes the two URLs in line with the
last remaining NixOS.org at https://github.com/NixOS/nixpkgs/pull/169046
2022-05-26 12:27:44 +02:00
Ingo Blechschmidt 804ee6ef17 texlive: improve reproducibility
Co-authored-by: Vincenzo Mantova <1962985+xworld21@users.noreply.github.com>
2022-04-23 14:16:01 +02:00
Vincenzo Mantova 0e319a3324
texlive: 2021.20211227 -> 2021-final (#167229) 2022-04-04 19:09:02 -04:00
Vincenzo Mantova 64d12b6bf7
texlive: recompute 2021.20211227 fixed hashes (#167026) 2022-04-03 10:07:17 -04:00
Felix Buehler ea0de43b76 dblatexFull: remove appendToName to have a consistent package name for repology 2022-02-28 12:46:15 +01:00
Sandro Jäckel 4bfaf28537
tex.dblatex: remove legacy ? null and assert 2022-02-16 01:01:05 +01:00
Zhong Jianxin e8f3914985 treewide: Replace transfig with fig2dev
Reasons:

- transfig never get upstream update since it was added to nixpkgs 2006,
  according to [fig2dev Debian changelog][1], upstream maintainership
  was taken over at 2016, and renamed to fig2dev.

- [Debian][2], [ArchLinux][3], [HomeBrew][4] all use fig2dev to replace
  transfig.

- transfig builds [failed][5] on aarch64-darwin, fig2dev builds fine.

- One less package to maintain.

[1]: https://salsa.debian.org/debian/fig2dev/-/blob/debian/1%253.2.6_beta-1/debian/changelog
[2]: https://packages.debian.org/bullseye/transfig
[3]: https://archlinux.org/packages/community/x86_64/fig2dev/
[4]: https://formulae.brew.sh/formula/fig2dev
[5]: https://hydra.nixos.org/build/163404782/nixlog/2
2022-02-15 10:13:56 +08:00
Dmitry Kalinkin f14e41ecf9
texlive.combine: pass --sort to mktexlsr
Improves reproducibility
2022-01-11 23:21:27 -05:00
Dmitry Kalinkin 9fcb1258a8
texlive: 2021.20210408 -> 2021.20211227 2022-01-11 23:20:39 -05:00
Dmitry Kalinkin 7660d567dd
texlive.bin.texlinks: fix build for darwin sandbox
post-installation fixup
    strip is /nix/store/falx4gakl6k1q64aqr4f8mvy8vfqcqaq-cctools-binutils-darwin-949.0.1/bin/strip
    patching script interpreter paths in /nix/store/q1haqqnh6i2677ihad4673gc3slna3sw-texlinks.sh
    /nix/store/q1haqqnh6i2677ihad4673gc3slna3sw-texlinks.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/715y5lnw12vdcc3hh9sc9vbkdi6c83x6-bash-4.4-p23/bin/sh"
    sed: couldn't open temporary file /nix/store/sedqPf2C0: Operation not permitted
2022-01-11 22:43:21 -05:00
Vincenzo Mantova 89158eae07 blahtexml: init at 0.9+date=2020-05-16 2021-12-05 19:03:56 +00:00
Felix Buehler 9480444dae treewide: rename name to pname&version 2021-11-09 22:24:57 +01:00
Sergei Trofimovich 0bd98dadeb
texlive.combine: avoid sorting on store paths (fix CA stability) (#140619)
In https://github.com/NixOS/nix/issues/5333 I noticed that adding
a minor change to `bash` derivation triggers rebuilds in CA for
`bash` (expected) and `texlive.combine` (unexpected).

regnat debugged derivation instability down to sort on outPath.

The change avoid sorting on outPaths and uses pname of the derivations.

Tested on `R` derivation.

Closes: https://github.com/NixOS/nix/issues/5333

Co-authored-by: Vincenzo Mantova <1962985+xworld21@users.noreply.github.com>
2021-10-10 10:18:19 -04:00
Vincenzo Mantova 4f8b48e432
texlive.bin.core: remove format -> engine links (#136293) 2021-09-24 05:23:45 -04:00
Felix Buehler 1a69d54885 tools/{text/typesetting}: replace name with pname&version 2021-08-02 16:48:40 +02:00
github-actions[bot] 2692c2e427
Merge master into staging-next 2021-07-27 12:01:20 +00:00
Ben Siraphob b63a54f81c
Merge pull request #110742 from siraben/deprecate-fold 2021-07-27 15:13:31 +07:00
github-actions[bot] dde34afc63
Merge staging-next into staging 2021-07-19 00:02:18 +00:00
Sandro d5bd34ebf2
treewide: convert phases that contain ":" to dont* = true (#130500) 2021-07-18 23:42:48 +02:00
github-actions[bot] 11332e9137
Merge staging-next into staging 2021-07-17 18:01:28 +00:00
Dmitry Kalinkin 8ff78e6a14
Merge pull request #130041 from xworld21/texlive-generate-fmtutilcnf
texlive: generate fmtutil.cnf
2021-07-17 08:21:12 -04:00
github-actions[bot] 6630d8e9bb
Merge staging-next into staging 2021-07-14 18:01:45 +00:00
Felix Bühler b82409869a
texlive: use sha256 (#130097) 2021-07-14 13:20:11 -04:00
Sandro 264cfed1b4
texlive: remove empty list 2021-07-13 22:04:23 +02:00
Dmitry Kalinkin c149772546
Merge pull request #130044 from Mindavi/bugfix/makewrapper-fixes
Move makeWrapper to nativeBuildInputs for some packages
2021-07-13 14:23:25 -04:00
Rick van Schijndel dd9e24f0da texlive: move makeWrapper to nativeBuildInputs 2021-07-12 21:58:48 +02:00
Vincenzo Mantova 5fc3462a46 texlive.combine: generate fmtutil.cnf 2021-07-12 20:37:51 +01:00
Vincenzo Mantova a2f5c6f52f texlive: expose formats using tlpdb 2021-07-12 20:37:51 +01:00
Vincenzo Mantova cf292ea21d texlive: update urls in documentation 2021-07-04 11:47:33 +01:00
Vincenzo Mantova 6603342bb6 texlive.combine: generate language.dat.lua 2021-07-04 11:47:33 +01:00
Vincenzo Mantova 7d12a7dde9 texlive.combine: generate language.{dat,def} more accurately 2021-07-04 11:47:33 +01:00
Vincenzo Mantova 14209b1383 texlive.combine: add missing lines of language.def 2021-07-04 11:47:32 +01:00
Vincenzo Mantova 6a431bbd83 texlive: find hyphenation patterns using tlpdb 2021-07-04 11:47:32 +01:00
Vincenzo Mantova c805959fbc
texlive: drop unused "fetch&unpack" derivations (#126982)
Motivations
- not well reproducible as they disable hashed mirrors (tarballs.nixos.org)
- only reachable by modifying the file pkgs.nix, thus unused
- the space saving is analogous to using substitutes
2021-06-28 23:01:27 -04:00
Vincenzo Mantova 6d56f95424 texlive.texdoc: build Data.tlpdb.lua 2021-06-21 20:03:12 +01:00
Vincenzo Mantova 2bd51da598
texlive: allow substitutes for texlive packages (#126458) 2021-06-14 02:03:10 -04:00
github-actions[bot] 78ae7ac75e
Merge staging-next into staging 2021-05-15 06:22:25 +00:00
AndersonTorres 8a69718195 auctex: rewrite 2021-05-13 02:59:27 -03:00
Jan Tojnar dd78ce1c53
Merge branch 'staging-next' into staging 2021-05-08 20:59:05 +02:00
Dmitry Kalinkin c6eba2cd00 texlive.bin.core-big: fix parallel build 2021-05-08 10:20:46 -07:00
Daniël de Kok 85f96822a0 treewide: fix cargoSha256/cargoHash
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in
which cargo vendor erroneously changed permissions of vendored
crates. This was fixed in Rust
1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all
cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are
potentially broken.

This change updates cargoSha256/cargoHash tree-wide.

Fixes #121994.
2021-05-08 00:36:37 -07:00
Vladimír Čunát 9a650af266
treewide maintainers: remove myself from a few places
It will better reflect the reality of the past few years.
2021-05-07 16:07:38 +02:00
Leo Gaskin f4ec650cde texlive.bin.dvisvgm: Use version provided by TeXLive
The dvisvgm version provided by TeXLive now includes the fixes
mentioned in the attached issue and thus can be used again instead of
relying on upstream sources.
2021-05-02 22:05:29 +02:00
Leo Gaskin dbc6e67bb3 texlive.bin: Use xpdf provided by TeXLive
This is done because the xpdf provided by Nixpkgs is marked as
insecure.  Granted, the version provided by TeXLive also has these
vulnerabilities, but it might be okay to treat them as irrelevant in
the context of TeX.
2021-05-02 22:05:29 +02:00
Leo Gaskin 7bf9a3b250 texlive.bin: fix for replacement of poppler with pplib
TeXLive no longer depends on or supports poppler, instead using the
homegrown pplib library.
2021-05-02 22:05:29 +02:00
Leo Gaskin 2ffe681e66 texlive: 2020 -> 2021 2021-05-02 21:50:09 +02:00
Vincenzo Mantova 69fefe9d37 mftrace: init at 1.2.20 2021-04-11 15:15:58 +01:00
Dmitry Kalinkin ca44268569
Merge pull request #118834 from eyJhb/texlive-08-04-2021
texlive: 2020.20210109 -> 20210408
2021-04-08 23:12:46 -04:00
eyjhb 422ad2a308
texlive: 2020.20210109 -> 20210408 2021-04-08 19:14:53 +02:00
bootstrap-prime 9063f676b7 tex-match: init at 1.2.0 2021-04-03 18:34:21 -04:00
Jörg Thalheim d280e1f78c
Merge pull request #116788 from veprbl/pr/texlive_find_tarballs_fix
texlive.combine: export `packages` attribute to help find-tarballs.nix
2021-03-23 09:28:32 +00:00
github-actions[bot] 6ffd2fe000
Merge master into staging-next 2021-03-19 06:17:55 +00:00
Dmitry Kalinkin 6829f9e141
texlive.bin.dvipng: refactor gs hardcoding, add a test for it 2021-03-18 20:55:35 -04:00
Dmitry Kalinkin 9adbfba80f
texlive.combine: export packages attribute to help find-tarballs.nix
Can be verified using:

  nix-instantiate --eval --json --strict ./maintainers/scripts/find-tarballs.nix --arg expr '(import ./. {}).texlive.combined.scheme-small' 2>/dev/null | jq '.[].name' | grep -E "r[0-9]+\.tar\.xz"
2021-03-18 17:50:57 -04:00
Jan Tojnar f747bcb868
Merge branch 'master' into staging-next 2021-03-12 19:58:39 +01:00
ajs124 d3e910bae8 dblatex: 0.3.11 -> 0.3.12 2021-03-03 02:58:12 +01:00
Ben Siraphob 127733211e
treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
Ben Siraphob e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Jörg Thalheim ffcf5e0f0f
texlive: use python3 by default
There is one python helper script still written for: Utility for writing
Bengali in Rapid Roman Format. But this one does not seem super relevant
2021-01-27 11:09:26 +01:00
Ben Siraphob 1c2a2b0a08 treewide: fold -> foldr 2021-01-26 10:57:07 +07:00
Ben Siraphob d6aeae8f90 pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
Ben Siraphob d1852aca3c pkgs/tools, pkgs/applications: [sS]tdenv.*lib -> lib 2021-01-17 20:59:15 +07:00
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Dmitry Kalinkin c5787e5b8c
texlive: 2020.20201009 -> 2020.20210109 2021-01-11 13:02:54 -05:00
Dmitry Kalinkin ac255ab62e
texlive: put snapshot date into the version 2021-01-11 13:01:39 -05:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Dmitry Kalinkin f86651e63b
texlive.combine: set allowSubstitutes = true 2020-12-19 11:33:50 -05:00
Dmitry Kalinkin 9ef277209a
texlive.bin.dvisvgm: texlive 2.8.1 -> upstream 2.11 2020-11-30 15:38:28 -05:00
iko eb7d367200
runLaTeX: rerun at least twice + refactor (#104185)
Building a simple LaTeX document without bibTeX with a table of contents yielded a document with an empty table of contents since LaTeX was only run once
2020-11-27 12:32:29 -05:00
adisbladis ce84cc06bf
texlive: Use lib.unique for uniqueness checks
In 85605c8a29 we got a really nice
performance improvement.

By using this implementation for texlive instantiation RSS is cut by
~2.6x with a similar wall time speedup.
2020-11-24 15:40:22 +01:00
R. RyanTM 2948121261 auctex: 12.2 -> 12.3 2020-10-24 23:17:49 -07:00
Dmitry Kalinkin 047749744f
texlive.bin.xindy: disable on platforms where clisp is broken 2020-10-18 14:08:43 -04:00
Dmitry Kalinkin e638958ec3
texlive: remove unused patch files
Those are not needed since 10438ba4fa
2020-10-18 13:59:09 -04:00
Dmitry Kalinkin ea5ac1103c
texlive.bin.core: remove unneeded autoreconfHook
Revert "texlive: fix missing synctex header"

This reverts commit ce6e72a11c.
2020-10-18 13:56:57 -04:00
Dmitry Kalinkin 10438ba4fa
texlive: 2019 -> 2020
Also change default package version from texlive year to a
revision. The problem with using texlive year is that it will change
on each of our update even if the package itself was not updated. The
texlive SVN revision number should not change unless the package is
updated. This will allow to share more store paths between different
texlive versions.
2020-10-11 12:28:26 -04:00
Dmitry Kalinkin d2a3ac31b6
texlive.bin: provide luajittex and mfluajit binaries
The ppc64 condition is based on previous reports and was not tested on
actual hardware.
2020-10-11 12:28:25 -04:00
Dmitry Kalinkin 1e87de13a5
texlive.combined.scheme-infraonly: enable building on Hydra
This used to be broken, but recently was fixed.
2020-10-11 12:28:25 -04:00
Dmitry Kalinkin b797fb24c4
texlive.bin.mflua: init 2020-10-11 12:28:25 -04:00
Dmitry Kalinkin 69e0797b00
texlive.bin.core: avoid building lua{53,jit} libraries 2020-10-11 12:28:11 -04:00
Dmitry Kalinkin 02cbf4e773
texlive.bin.core: remove outdated options 2020-10-09 18:19:49 -04:00
Dmitry Kalinkin 0f564014b6
texlive: move chktex from texlive.bin.core to texlive.bin.chktex
chktex binary doesn't work without its global resource file which
comes in its tlType="run" package. This commit moves chktex into a
separate tlType="bin" package so it is only used along with its
tlType="run" counterpart.
2020-09-29 07:35:03 -04:00
Jan Tojnar 607509ac8f
Merge pull request #97690 from jtojnar/inkscape-1.0.1 2020-09-12 16:30:53 +02:00
Jan Tojnar 35deaa45a1
inkscape_0: drop
Inkscape 1.0.1 re-added the old CLI flags:
3ca6a4ed08
2020-09-10 20:46:55 +02:00
Dmitry Kalinkin 37d65c8698
texlive: fix arara 2020-09-09 18:49:32 -04:00
Dmitry Kalinkin 30205d76ad
texlive: disable revisioned tarballs for now 2020-08-01 17:06:12 -04:00
Pavol Rusnak 8402a74cce
treewide: replace inkscape with inkscape_0
The Inkscape CLI interface has been changed with 1.x and packages
are not adjusted yet to this change. Let's use inkscape 0.x instead.
2020-07-19 13:10:16 +02:00
Dylan Simon 4ab0be845d
texlive.bin: fix poppler compatibility patch urls (#91890) 2020-07-02 12:59:59 -04:00
Dmitry Kalinkin 8852a81022
texlive: fix build for scheme-infraonly 2020-06-22 01:08:45 -04:00
Sander van der Burg 75b0777831 dblatex: add pdflscape as a dependency
Without it, building a document fails with the following error:

pdflatex failed
index.tex: File `pdflscape.sty' not found.
index.tex:47: Emergency stop.
2020-06-01 23:12:35 +02:00
Dmitry Kalinkin 73e0138f7c
texlive: build all official schemes on Hydra
We are already building texlive.combined.scheme-full as a dependency
for manim.
2020-05-18 00:04:20 -04:00
Pavol Rusnak 7b0167204d treewide: use https for nixos.org and hydra.nixos.org
tarballs.nixos.org is omitted from the change because urls from there
are always hashed and checked
2020-05-03 22:14:21 -07:00
Ismaël Bouya bb79233b94
texlive: Fix texlive pstricks
The upgrade of ghostscript to 9.50 produced some issues with texlive
2019. This patch adds an additional fix necessary for the upgrade
preventing pstricks from working correctly:

  https://tug.org/pipermail/dvipdfmx/2019-November/000036.html
2020-04-22 18:34:06 +02:00
Dmitry Kalinkin af72bf0ae2
texlive.bin: fix for poppler 0.84 2020-04-16 04:17:22 +02:00