Commit Graph

261 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
Daniel Schaefer
516b55050f
Merge pull request #324926 from r-ryantm/auto-update/antora
antora: 3.1.7 -> 3.1.9
2024-07-07 17:15:51 +08:00
Daniel Schaefer
bbb9e8d185 antora: 3.1.8 -> 3.1.9
Signed-off-by: Daniel Schaefer <dhs@frame.work>
2024-07-07 16:23:59 +08:00
R. Ryantm
f2904b5c81 antora: 3.1.7 -> 3.1.8 2024-07-06 00:23:29 +00:00
github-actions[bot]
c8c2ff3b9b
Merge staging-next into staging 2024-06-10 00:02:49 +00:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Jan Tojnar
07c48ff2c9 gi-docgen: 2023.3 → 2024.1
https://gitlab.gnome.org/GNOME/gi-docgen/-/compare/2023.3...2024.1
2024-06-09 21:37:57 +02:00
Maxine Aubrey
568f79a91d
gtk-doc: 1.33.2 → 1.34.0
https://gitlab.gnome.org/GNOME/gtk-doc/-/compare/1.33.2...1.34.0

Changelog-Reviewed-By: Maxine Aubrey <max@ine.dev>
2024-04-22 21:11:13 +02:00
Martin Weinelt
3321e63b12
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/sphinx-autobuild/default.nix
2024-03-19 04:00:32 +01:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
github-actions[bot]
9a49f37e07
Merge staging-next into staging 2024-03-02 06:01:23 +00:00
Alyssa Ross
52223518a0
doxygen: unvendor spdlog
The vendored version is horribly outdated and not compatible with musl
1.2.4.

Requires backporting a patch to build properly.
2024-03-01 19:34:47 +01:00
zimbatm
e3597ddd55 mdsh: 0.7.0 -> 0.8.0
And also move it to pkgs/by-name
2024-02-29 15:37:32 +01:00
Weijia Wang
a3d15643b1
Merge pull request #281980 from r-ryantm/auto-update/antora
antora: 3.1.5 -> 3.1.7
2024-01-28 07:09:35 +01:00
R. Ryantm
a4370eba87 antora: 3.1.5 -> 3.1.7 2024-01-19 06:40:31 +00:00
Arnout Engelen
9544e59093
Merge pull request #276748 from ivan770/update-doxygen
doxygen: 1.9.8 -> 1.10.0
2024-01-15 19:08:19 +01:00
Vladimír Čunát
8a839514de
Merge branch 'master' into staging-next 2024-01-04 15:07:44 +01:00
ivan770
0569a92803 doxygen: 1.9.8 -> 1.10.0 2023-12-25 12:36:37 -05:00
R. Ryantm
da9fac8430 antora: 3.1.3 -> 3.1.5 2023-12-25 15:16:18 +00:00
Sergei Trofimovich
ef9e908184 gi-docgen: 2023.1 -> 2023.3
Changes:
- https://gitlab.gnome.org/GNOME/gi-docgen/-/tags/2023.3
- https://gitlab.gnome.org/GNOME/gi-docgen/-/tags/2023.2
2023-12-02 12:24:28 +01:00
R. Ryantm
16d8035b62 doxygen_gui: 1.9.7 -> 1.9.8 2023-11-14 08:28:33 +00:00
r-vdp
6b3a4030de
Treewide: add meta.mainProgram 2023-08-07 18:12:29 +02:00
R. Ryantm
a946656ee7 doxygen: 1.9.6 -> 1.9.7 2023-05-24 04:33:45 +00:00
Vladimír Čunát
ae8dfea880
Merge #227485: doxygen: enable sqlite3 output
...into staging
2023-05-10 08:38:38 +02:00
Elizabeth Paź
5d907dda7c
antora: repackage using buildNpmPackage 2023-05-06 16:12:38 +02:00
Travis A. Everett
e5c113e3e7 doxygen: add output for examples 2023-05-04 13:14:11 -05:00
Travis A. Everett
ad6906feb7 doxygen: enable sqlite3 output 2023-05-04 13:14:11 -05:00
Alyssa Ross
52c286ee5b
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/libraries/pmdk/default.nix
2023-02-23 13:51:34 +00:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Sergei Trofimovich
baccb31d34
Merge pull request #214130 from r-ryantm/auto-update/doxygen
doxygen: 1.9.5 -> 1.9.6
2023-02-11 14:16:49 +00:00
John Ericson
617742df4e
Merge pull request #214785 from alyssais/doxygen-iconv
doxygen: depend on libiconv unconditionally
2023-02-05 13:59:05 -05:00
Alyssa Ross
5445b924f8
doxygen: depend on libiconv unconditionally
libiconv is already defined per-platform.  The actual libiconv library
won't be built on platforms like Linux where it doesn't need to be, so
there's no need to maintain a separate platform list here.

Required to build for FreeBSD.
2023-02-05 16:35:25 +00:00
github-actions[bot]
191f7a9ec6
Merge staging-next into staging 2023-02-04 06:01:46 +00:00
zimbatm
c3c1958647
mdsh: 0.6.0 -> 0.7.0 2023-02-04 01:08:10 +01:00
Jan Tojnar
7673d2be90 gi-docgen: 2022.2 → 2023.1
https://gitlab.gnome.org/GNOME/gi-docgen/-/compare/2022.2...2023.1

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>
2023-02-02 11:53:36 +01:00
R. Ryantm
f08158b03d doxygen: 1.9.5 -> 1.9.6 2023-02-02 08:22:47 +00:00
Jan Tojnar
fb213161c3 gi-docgen: 2022.1 → 2022.2
https://gitlab.gnome.org/GNOME/gi-docgen/-/tags/2022.2

Switch to GNOME mirror and add update script.
2022-11-12 11:44:46 +01:00
Rick van Schijndel
36abd4f593 gtk-doc: use prefixed pkg-config if needed
Needed for the change where we always prefix pkg-config.
2022-10-19 20:38:28 +02:00
Jan Tojnar
d4e4e6bfcc gi-docgen: Fix build of libide 2022-10-11 18:52:12 +02:00
R. Ryantm
557684da24 doxygen: 1.9.4 -> 1.9.5 2022-08-28 09:44:02 +00:00
R. Ryantm
71260be594 doxygen: 1.9.3 -> 1.9.4 2022-06-27 22:02:55 +00:00
Vladimír Čunát
a42ca0678b
Merge branch 'master' into staging-next 2022-03-26 09:20:38 +01:00
Jan Tojnar
9649427f1c gi-docgen: 2021.8 → 2022.1
https://gitlab.gnome.org/GNOME/gi-docgen/-/tags/2022.1
2022-03-25 15:01:23 +01:00
Nicolas Benes
8f1cf1ea0b doxygen: 1.8.20 -> 1.9.3 2022-03-12 14:17:21 +01:00
Phillip Cloud
d6521c5ef7
mkdocs: move to python3Packages.mkdocs 2022-01-24 09:00:35 -05:00
Artturin
e83600ad02 gi-docgen: fix cross by adding python3 to depsBuildBuild
adding python3 to nativeBuildInputs is not enough as it still uses the
aarch64 python for the build
2021-11-05 19:57:04 +02:00
Jan Tojnar
aa8044d673 gi-docgen: fix some docs build failures 2021-10-29 03:06:50 +02:00
Jan Tojnar
226bc32535 gi-docgen: 2021.7 → 2021.8
https://gitlab.gnome.org/GNOME/gi-docgen/-/tags/2021.8
2021-10-24 16:26:45 +02:00
Jan Tojnar
1beca619ac gi-docgen: 2021.5 → 2021.7
https://gitlab.gnome.org/GNOME/gi-docgen/-/tags/2021.6
https://gitlab.gnome.org/GNOME/gi-docgen/-/tags/2021.7
2021-10-09 17:29:32 +02:00