Commit Graph

2088 Commits

Author SHA1 Message Date
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Sandro
52cca64c3c
nginxMainline: 1.27.2 -> 1.27.3 (#360056) 2024-12-09 22:42:18 +01:00
Franz Pletz
b356fafe02
nixos/nginx: don't disable IPC (#360008) 2024-12-09 11:47:44 +01:00
R. Ryantm
16444b18b9 apacheHttpdPackages.mod_wsgi3: 5.0.1 -> 5.0.2 2024-12-08 04:20:42 +00:00
misuzu
719cdf08a5
openresty: make postgres module optional (#362426) 2024-12-06 20:19:21 +02:00
Christoph Heiss
b3eca67865
nixos/openresty: fix build with nginx modules (#362348)
When adding modules to openresty, by either

- using `.override { modules = [ ..]; }` directly
- adding them to `services.nginx.additionalModules` or
- enabling e.g. something like `services.nginx.recommendedZstdSettings`

the build will then fail, as the actual `nginx` binary lands in
`nginx/bin/nginx` for openresty, and is only symlinked to `bin/nginx`
(and `bin/openresty`, for that matter).

This breaks the post-install script for nginx when removing references
to the aforementioned modules, since `remove-references-to` skips
symlinks. Thus, just read the symlink before in this case.

`readlink -fn` will read the symlink if it is one, otherwise just
returns the path itself.

The phase is also moved after the package-specific postInstall phase, at
that might move binaries around or create symlinks - as is the case for
openresty.

Can be easily reproduced using e.g.:

$ nix build --impure -E 'with import ./. {}; openresty.override { modules = [ nginxModules.zstd ]; }' -L

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-12-06 20:15:26 +02:00
Christoph Heiss
cb29290646
openresty: make postgres module optional
Enables users who don't need it to easily disable it. Defaults to on to
not regress any users.

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-12-06 15:00:24 +01:00
Thomas Gerbet
b5dea63a56 apacheHttpd: remove support for mod_tls
It has been removed upstream and is now managed independently.

988f449632
2024-11-30 15:20:40 +01:00
Sergei Trofimovich
44636db274 nginxMainline: 1.27.2 -> 1.27.3
Changes: https://nginx.org/en/CHANGES
2024-11-29 06:15:12 +00:00
toastal
6832176666
nginxModules.subsFilter: 2022-01-24 (#359905)
Fixes issues with newer PCRE
2024-11-29 06:45:48 +01:00
Sandro Jäckel
996f9e4f28
nixos/nginx: don't disable IPC
This also disables the memfd_create syscall which is required for
certain regex's when using pcre2.

see https://github.com/NixOS/nixpkgs/pull/355989#issuecomment-2506841275
2024-11-29 00:41:46 +01:00
Franz Pletz
352dc5c800
nginx: fix compatibility with zlib-ng (#358812) 2024-11-27 14:34:52 +01:00
Tristan Ross
7818372094
nginx: fix building with clang on linux (#358999) 2024-11-26 20:39:01 -08:00
Franz Pletz
5ae0b27ab9
nginx: fix compatibility with zlib-ng
Fix #357522.
2024-11-26 20:35:28 +01:00
Philipp Bartsch
8571045ea9 nginx: fix building with clang on linux
Building pkgsLLVM.nginx got the same errors as the ones previously
disabled for darwin.
2024-11-25 14:29:14 +01:00
R. Ryantm
5259df7001 tomcat9: 9.0.95 -> 9.0.97 2024-11-23 18:04:28 +01:00
Jacek Galowicz
1b1578268d
apacheHttpdPackages.mod_tile: 0.7.1 -> 0.7.2 (#321406) 2024-11-23 09:44:21 +01:00
OTABI Tomoya
553b0453f5
tomcat10: 10.1.30 -> 10.1.33 (#355513) 2024-11-22 15:22:18 +09:00
Elliot Cameron
84a3cd9361 openresty: 1.25.3.2 -> 1.27.1.1 2024-11-18 16:51:30 -05:00
Elliot Cameron
06b9024cc0 nginx: upgrade pcre to pcre2
Nginx builds with pcre2 by default as of version 1.21.5.
2024-11-14 15:07:36 -05:00
R. Ryantm
f7f3af6db6 tomcat10: 10.1.30 -> 10.1.33 2024-11-12 20:39:00 +00: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
Weijia Wang
d2af3b5c4a
apacheHttpdPackages.mod_wsgi3: 5.0.0 -> 5.0.1 (#352753) 2024-11-07 01:38:35 +01:00
zi3m5f
cb47906e85
apacheHttpdPackages.mod_python: fix for python3.12
adding distutils, packaging and setuptools to fix:
- ModuleNotFoundError: No module named 'distutils'
- ModuleNotFoundError: No module named 'packaging'
- error: invalid command 'install'

and ensureNewerSourcesForZipFilesHook for:
- ValueError: ZIP does not support timestamps before 1980
2024-11-02 00:45:52 +01:00
zi3m5f
3b46176295
apacheHttpdPackages.mod_python: nixfmt 2024-11-02 00:44:47 +01:00
Weijia Wang
98ae4cd2e2
couchdb3: 3.3.3 -> 3.4.1 (#348229) 2024-11-01 13:13:28 +01:00
R. Ryantm
2f300bf6e1 apacheHttpdPackages.mod_wsgi3: 5.0.0 -> 5.0.1 2024-11-01 00:11:20 +00:00
Aleksana
e8900b6e7d
tomcat11: init at 11.0.0 (#351252) 2024-10-28 11:49:17 +08:00
Martin Weinelt
36fd156152
nginxModules.vod: pin to ffmpeg 6
Closes: #351760
2024-10-28 00:21:04 +01:00
Nick Cao
495e7b1b66
router: 1.55.0 -> 1.56.0 (#350024) 2024-10-26 09:38:22 -04:00
R. Ryantm
f3ceef45ef webhook: 2.8.1 -> 2.8.2 2024-10-26 04:35:50 +00:00
Anthony ROUSSEL
d18ec54390 tomcat11: init at 11.0.0
https://tomcat.apache.org/tomcat-11.0-doc/changelog.html#Tomcat_11.0.0_(markt)
2024-10-25 20:56:42 +02:00
Azat Bahawi
20f02a8fde
nginxModules.njs: 0.8.1 -> 0.8.4 (#317683) 2024-10-23 21:45:28 +00:00
R. Ryantm
41673e40a8 router: 1.55.0 -> 1.56.0 2024-10-20 13:09:21 +00:00
R. Ryantm
b254639ae8 couchdb3: 3.3.3 -> 3.4.1 2024-10-13 10:11:20 +00:00
github-actions[bot]
a5883bc172
Merge master into staging-next 2024-10-10 12:05:39 +00:00
Franz Pletz
ae8c1e57f7
treewide: use mirror urls (#347454) 2024-10-10 13:05:23 +02:00
K900
0717a4da77 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-09 21:08:25 +03:00
Peder Bergebakken Sundt
f0ab603220 apt-cacher-ng: use mirror url 2024-10-09 12:03:59 +02:00
Sergei Trofimovich
a104755959 nginxMainline: 1.27.1 -> 1.27.2
Changes: https://nginx.org/en/CHANGES
2024-10-09 06:42:21 +01:00
github-actions[bot]
ff851b037d
Merge master into staging-next 2024-10-06 00:15:37 +00:00
Anthony ROUSSEL
ddbf80e918 jetty_12: 12.0.12 -> 12.0.14 2024-10-05 20:54:23 +02:00
Anthony ROUSSEL
f7e0d315f3 jetty_11: 11.0.23 -> 11.0.24 2024-10-05 20:54:23 +02:00
github-actions[bot]
e9c8665026
Merge master into staging-next 2024-10-05 00:14:01 +00:00
Anthony ROUSSEL
d8a157389f tomcat10: 10.1.29 -> 10.1.30 2024-10-04 22:28:03 +02:00
Anthony ROUSSEL
8f9b47f0e1 tomcat9: 9.0.94 -> 9.0.95 2024-10-04 22:28:03 +02:00
Anthony Roussel
6e894284a3
apacheHttpdPackages.mod_jk: 1.2.49 -> 1.2.50 (#337216) 2024-10-04 22:26:54 +02:00
github-actions[bot]
ca0b5f7edc
Merge master into staging-next 2024-10-03 12:05:39 +00:00
Leona Maroni
66a7f7ecc2
angie: 1.6.2 -> 1.7.0 (#343222) 2024-10-03 12:53:35 +02:00
github-actions[bot]
c3c8b24e1c
Merge master into staging-next 2024-10-01 18:04:42 +00:00