Commit Graph

1836 Commits

Author SHA1 Message Date
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
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
R. Ryantm
c60290600e texpresso: 0-unstable-2024-06-22 -> 0-unstable-2024-07-02 2024-08-17 12:56:05 +00:00
R. Ryantm
cde041e681 pulldown-cmark: 0.11.0 -> 0.11.2 2024-08-17 05:27:17 +00:00
Peter Hoeg
e402d09f39 rubber: 1.6.0 -> 1.6.6 2024-08-16 12:11:38 +02:00
Michal Sojka
3de2aed6e1
texpresso/tectonic: Fix cargoHash (#334797)
Hash mismatch was caused by #333143.

The build error message contains:

    Validating consistency between /build/source/Cargo.lock and /build/texpresso-tonic-0.15.0-vendor.tar.gz/Cargo.lock
    2372d2371
    <  "time",
    2707c2706
    < version = "0.3.36"
    ---
    > version = "0.3.34"
    ...
    ERROR: cargoHash or cargoSha256 is out of date

Fixes #334648.
2024-08-16 11:16:29 +09:00
github-actions[bot]
7b86eb63e7
Merge master into staging-next 2024-08-09 12:01:12 +00:00
Doron Behar
788ccaa51d
Merge pull request #333143 from bryango/tectonic-rust-1.80-fix
tectonic-unwrapped, tectonic: fix build
2024-08-09 11:35:24 +00:00
Bryan Lai
b12a306304 tectonic-unwrapped, tectonic: fix build
Add patch bumping the `time` crate, fix build with rust 1.80.
2024-08-08 21:09:46 +08:00
github-actions[bot]
e80257fbed
Merge master into staging-next 2024-08-07 00:02:22 +00:00
Leon Schoorl
9036ede9dc texlive.bin: update src urls 2024-08-01 16:06:44 +02:00
Sandro
5e26e4adc0
Merge pull request #321117 from trofi/xmlto-update 2024-07-31 17:39:51 +02:00
K900
4f29b5a16b Merge remote-tracking branch 'origin/staging-next' into staging 2024-07-31 08:57:17 +03:00
Sergei Trofimovich
5f2e83c777 xmlto: 0.0.28 -> 0.0.29 2024-07-29 22:26:00 +01:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
John Ericson
44afce2cdc
Merge pull request #328783 from rhelmot/freebsd-docbook2x
docbook2x: add runtime dependency on iconv binary
2024-07-24 14:03:39 -04:00
github-actions[bot]
d284ef371e
Merge master into staging-next 2024-07-23 12:01:18 +00:00
Robert Schütz
17a5b1248c bibtex-tidy: 1.11.0 -> 1.13.0
Diff: https://github.com/FlamingTempura/bibtex-tidy/compare/v1.11.0...9658d907d990fd80d25ab37d9aee120451bf5d19

Changelog: 9658d907d9/CHANGELOG.md
2024-07-23 02:51:12 -07:00
Audrey Dutcher
f24b19390b docbook2x: add runtime dependency on iconv binary
This package uses iconv(1), which is provided by pkgs.iconv. This won't
be a problem unless libiconv != iconv, e.g. on FreeBSD.
2024-07-20 17:16:29 -07:00
Vladimír Čunát
caebc10ec4
Merge #327970: asciidoc: 10.2.0 -> 10.2.1
...into staging
2024-07-20 10:16:08 +02:00
Robert Schütz
07768c8c73 asciidoc: 10.2.0 -> 10.2.1
Diff: https://github.com/asciidoc-py/asciidoc-py/compare/10.2.0...10.2.1

Changelog: https://github.com/asciidoc-py/asciidoc-py/blob/10.2.1/CHANGELOG.adoc
2024-07-17 09:14:13 -07:00
Artturin
a516ea8c99 Merge branch 'staging-next' into staging 2024-07-16 19:07:48 +03:00
R. Ryantm
3cefe1ebcc coq2html: 1.3 -> 1.4 2024-07-16 02:24:22 +00:00
chayleaf
9b877fd5ab
pdftk: convert to gradle setup hook 2024-07-12 21:36:20 +07:00
Vladimír Čunát
4c09ae2416
Merge branch 'staging-next' into staging 2024-07-08 10:43:15 +02:00
Weijia Wang
13514d5faa texpresso: fix build on darwin 2024-07-07 22:29:24 +02:00
R. Ryantm
ed490bc06b texpresso: 0-unstable-2024-05-23 -> 0-unstable-2024-06-22 2024-07-07 22:22:49 +02:00
aleksana
1862813d11 treewide: convert cargoSha256 to cargoHash
This is done with the following bash script:

```
#!/usr/bin/env bash
process_line() {
    local filename=${1%:}
    if [[ $4 =~ \"(.*)\"\; ]]; then
      local sha256="${BASH_REMATCH[1]}"
    fi
    [[ -z $sha256 ]] && return 0
    local hash=$(nix hash to-sri --type sha256 $sha256)
    echo "Processing: $filename"
    echo "  $sha256 => $hash"
    sed -i "s|cargoSha256 = \"$sha256\"|cargoHash = \"$hash\"|"
$filename
}

# split output by line
grep -r 'cargoSha256 = ' . | while IFS= read -r line; do
    # split them further by space
    read -r -a parts <<< "$line"
    process_line "${parts[@]}"
done

```
2024-07-03 21:54:10 +08:00
github-actions[bot]
08b5c3c46a
Merge master into staging-next 2024-06-25 18:01:20 +00:00
Martin Weinelt
873fd5afd5 dblatex: pin to python3.11 due to distutils usage 2024-06-24 12:18:28 +02:00
Vincenzo Mantova
7f1a82fdee texlive.withPackages: resolve dependencies by pname only
The change allow swapping one package with a different one by simply
passing the new package to `.withPackages`.
2024-06-23 10:48:18 +01:00
Vincenzo Mantova
82aa005d8e texlive.withPackages: process new packages before existing ones 2024-06-23 10:48:17 +01:00
Martin Weinelt
af4cfc1e0f Merge remote-tracking branch 'origin/staging-next' into staging 2024-06-19 23:28:26 +02:00
Marcus Ramberg
4db07aa7c3 marp-cli: 3.2.0 -> 3.4.0 2024-06-16 22:15:55 +02:00
Aleksana
ee9cf00e6d
Merge pull request #315240 from Cryolitia/ghost-font
ghostscript: add output `fonts`
2024-06-15 19:32:39 +08:00
github-actions[bot]
c8c2ff3b9b
Merge staging-next into staging 2024-06-10 00:02:49 +00:00
Alyssa Ross
3df6bb2c85
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/blockchains/polkadot/default.nix
2024-06-09 22:47:12 +01:00