Commit Graph

1871 Commits

Author SHA1 Message Date
Masum Reza
e13831335f
treewide: stdenv.is -> stdenv.hostPlatform.is (#356363)
* treewide: stdenv.is -> stdenv.hostPlatform.is

* treewide: nixfmt due to ci error
2024-11-17 16:11:54 +05:30
Nick Hu
46e0588bfc
texlive.bin.dvisvgm: compile with ttfautohint (#355525) 2024-11-17 09:55:01 +00:00
Vincenzo Mantova
6b59355398
texlivePackages.xetex: force XeTeX to use fontconfig on Darwin (#354963)
The recent stdenv changes causes XeTeX to use Core Text and Cocoa, which
prevents XeTeX from picking up the TeX Live fonts via the
FONTCONFIG_FILE variable. This change restores the previous behaviour by
forcing XeTeX to use fontconfig.
2024-11-10 17:17:37 -05:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Doron Behar
4aa36568d4
sile: 0.14.17 -> 0.15.5 (#353607) 2024-11-05 07:43:48 +02:00
Pol Dellaiera
5f2f76c4f2
hayagriva: 0.6.0 -> 0.8.0 (#352829) 2024-11-04 20:16:27 +01:00
Doron Behar
3618ec6a0a sile: nixfmt; move to pkgs/by-name 2024-11-04 12:46:23 +02:00
Weijia Wang
1b49f5e30c
asciidoctorj: 2.5.13 -> 3.0.0 (#348673) 2024-11-01 13:49:34 +01:00
R. Ryantm
a36a5d717e hayagriva: 0.6.0 -> 0.8.0 2024-11-01 10:16:01 +00:00
Tristan Ross
fb01d572b5
release-lib: build packages without meta.platforms on all platforms (#351919) 2024-10-30 09:35:04 -07:00
Emily
bf054e513b texlivePackages.*: set meta.{platforms,hydraPlatforms} 2024-10-29 19:42:46 +00:00
K900
0c45a8b5c4 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-28 21:46:13 +03:00
Doron Behar
454e61c45b asciidoctor-with-extensions: 2.0.20 -> 2.0.23 2024-10-28 09:38:36 +00:00
Doron Behar
457883fa23 asciidoctor: 2.0.20 -> 2.0.23 2024-10-28 09:37:04 +00:00
Fabián Heredia Montiel
980dd8b4ed Merge remote-tracking branch 'origin/master' into staging-next 2024-10-27 23:56:04 -06:00
Sergei Trofimovich
67ee21604b lowdown: 1.1.2 -> 1.2.0
Changes: https://github.com/kristapsdz/lowdown/releases/tag/VERSION_1_2_0
2024-10-26 15:43:16 +01:00
github-actions[bot]
02bb5e5201
Merge master into staging-next 2024-10-26 00:14:06 +00:00
h7x4
0a446b4a2d texlive: remove use of builtins.groupBy
nixpkgs technically supports nix 2.3, but the groupBy builtin was
only introduced in nix 2.5. This should ensure backwards compatibility.
2024-10-25 23:33:12 +02:00
Fabián Heredia Montiel
1b7dd985dc Merge remote-tracking branch 'origin/master' into staging-next 2024-10-21 19:17:30 -06:00
Fabián Heredia Montiel
4ff8c07994
lowdown: 1.1.0 -> 1.1.2 (#344532) 2024-10-21 15:14:30 -06:00
R. Ryantm
5356b12bc5 asciidoctorj: 2.5.13 -> 3.0.0 2024-10-15 04:16:56 +00:00
github-actions[bot]
f201fe5883
Merge staging-next into staging 2024-10-12 12:05:39 +00:00
Thomas Gerbet
562995272c fop: apply patch for CVE-2024-28168
https://www.openwall.com/lists/oss-security/2024/10/09/1
2024-10-12 12:54:41 +02:00
github-actions[bot]
a45a33309f
Merge staging-next into staging 2024-10-11 06:05:14 +00:00
Jörg Thalheim
35f64dd473
tex-match: remove (#344155) 2024-10-11 07:36:18 +02:00
github-actions[bot]
96ea2a3c2f
Merge staging-next into staging 2024-10-09 00:14:47 +00:00
Doron Behar
ada581d472
tectonic: fix endless reruns when generating bbl (#347087) 2024-10-08 13:27:21 +03:00
Bryan Lai
e043c92c99 tectonic: fix endless reruns when generating bbl 2024-10-08 14:31:17 +08:00
Sergei Trofimovich
750afb7250 lowdown: 1.1.0 -> 1.1.2
Changes:
- https://github.com/kristapsdz/lowdown/releases/tag/VERSION_1_1_1
- https://github.com/kristapsdz/lowdown/releases/tag/VERSION_1_1_2
2024-10-08 07:09:16 +01:00
github-actions[bot]
30eea63af0
Merge staging-next into staging 2024-10-08 06:05:37 +00:00
Emily
dc32d18e52 lowdown: add flag to disable the Darwin sandbox
This is a program written in a memory‐unsafe language that processes
potentially‐untrusted user input. We shouldn’t disable upstream’s
sandboxing mechanisms for all downstream consumers without good
reason.

Although the sandbox API is officially marked as deprecated, it is
used as the basis for the supported App Sandbox and it is extremely
unlikely to ever be removed as it is used extensively throughout
the OS for service hardening and by third parties like the Chrome
sandbox. Nix itself uses it to sandbox builds, and its lack of support
for nesting is why this caused problems in the first place. Instead,
introduce a `lowdown-unsandboxed` package that can be used in the
`nativeBuildInputs` of Nix builds, while keeping the sandboxed
version of the program for general use. The name might not be ideal,
as it remains identical to `lowdown` on non‐Darwin platforms,
but I couldn’t think of a better one.

See: #125004
Closes: #346933
2024-10-07 04:26:56 +01:00
K900
84fce7e588 Merge remote-tracking branch 'origin/staging-next' into staging 2024-10-06 21:11:05 +03:00
Marcin Serwin
6d24a9cf83
xmlto: Use non-namespaced stylesheets
c1ae842f7c changed `xmlto` to use docbook stylesheets from the nix store instead of downloading them. However, it used the namespaced version despite the URI being for non-namespaced version, causing problems with generated man pages as reported in https://github.com/NixOS/nixpkgs/pull/301631#issuecomment-2132169659, https://github.com/NixOS/nixpkgs/issues/299081#issuecomment-2266028957, and https://github.com/NixOS/nixpkgs/issues/339078.

This patch fixes the issue by pointing to `nons` version of the stylesheets.
2024-10-03 08:41:35 +02:00
R. Ryantm
f86d6f781a hayagriva: 0.5.3 -> 0.6.0 2024-10-03 04:20:38 +00:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
aleksana
82459a8dc1 tex-match: remove 2024-09-24 15:53:14 +08:00
Martin Weinelt
5988878cbb
bibtex-tidy: 1.13.0 -> 1.14.0
https://github.com/FlamingTempura/bibtex-tidy/blob/v1.14.0/CHANGELOG.md

https://github.com/FlamingTempura/bibtex-tidy/compare/v1.13.0...v1.14.0
2024-09-20 15:12:08 +02:00
Aleksana
a2cad4db0b
treewide: migrate packages to by-name (#341412) 2024-09-17 11:17:16 +08:00
Peder Bergebakken Sundt
b6fb45d503
kramdown-asciidoc: 1.0.1 -> 2.1.0 (#289603) 2024-09-17 00:45:59 +02:00
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
Rebecca Turner
7784c973e6 lowdown: patch to fix macOS and UTF-8 bugs
- Improve UTF-8 handling by not treating bytes >=0x80, which tend to be
  UTF-8 continuation bytes, as control characters.

  This leaves control characters U+0080 through U+009F in the output
  (incorrectly) but doesn't mangle other UTF-8 characters, so it's a net
  win.

  See: https://github.com/kristapsdz/lowdown/pull/140

- Don't output a newline between a `.SH` and a heading.

  This fixes `makewhatis` output on macOS and (as a result) `man`
  completions for `fish` on macOS.

  See: https://github.com/kristapsdz/lowdown/pull/138
2024-09-16 11:25:55 +02:00
Weijia Wang
40a2cd0673
coq2html: 1.3 -> 1.4 (#327523) 2024-09-11 00:19:48 +02:00
OTABI Tomoya
c254ef6370
pulldown-cmark: 0.12.0 -> 0.12.1 (#339685) 2024-09-07 11:42:38 +09:00
Sandro
4c64146e45
treewide: Retire srgom from meta.maintainers (#337930)
The GitHub account has been inactive for 4+ years.

This is sadly necessary due to the delays in reviews/merges when others are waiting for the requested maintainers to review the PR.

Instructions for re-adding once you return https://github.com/NixOS/nixpkgs/tree/master/maintainers#how-to-become-a-maintainer

We appreciate your past and future contributions.

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
2024-09-05 21:23:41 +03:00
R. Ryantm
7d34caec6c pulldown-cmark: 0.12.0 -> 0.12.1 2024-09-05 01:58:44 +00:00
Sergei Trofimovich
23e40d8782 tectonic.tests: fix the eval
Without the change the eval fails as:

    $ nix build --no-link -f. tectonic.tests
    error:
       … while evaluating the attribute 'biber-compatibility'

       … in the condition of the assert statement
         at pkgs/stdenv/generic/make-derivation.nix:540:1:
          539| # Policy on acceptable hash types in nixpkgs
          540| assert attrs ? outputHash -> (
             | ^
          541|   let algo =

       … in the right operand of the IMPL (->) operator
         at /home/slyfox/dev/git/nixpkgs-master/pkgs/stdenv/generic/make-derivation.nix:540:27:
          539| # Policy on acceptable hash types in nixpkgs
          540| assert attrs ? outputHash -> (
             |                           ^
          541|   let algo =

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: attribute 'outputHashAlgo' missing
       at pkgs/tools/typesetting/tectonic/tests.nix:65:9:
           64|       inherit (emptyFile)
           65|         outputHashAlgo
             |         ^
           66|         outputHashMode
2024-08-27 15:51:17 +01:00
R. Ryantm
b9568bdb85 pulldown-cmark: 0.11.2 -> 0.12.0 2024-08-24 13:38:07 +00:00
Sebastián Mancilla
d0c400e0fb
Merge pull request #335292 from r-ryantm/auto-update/pulldown-cmark
pulldown-cmark: 0.11.0 -> 0.11.2
2024-08-22 22:24:50 -04:00
Philip Taron
65ec5b64ec
texlive: remove with statements 2024-08-18 06:32:23 -07:00
Philip Taron
a77b1b3bc8
asciidoc: remove with statements 2024-08-18 06:32:23 -07:00