Commit graph

26163 commits

Author SHA1 Message Date
Uri Baghin f8ee061247 buildBazelPackage: fix difference between linux and darwin deps 2023-04-06 11:42:46 +10:00
Aaron Andersen 65ed4dd46c
Merge pull request #223592 from seberm/add-zabbix-6
zabbix: Add support for zabbix v6, update v5 and v4 to latest versions
2023-04-05 20:28:15 -04:00
github-actions[bot] be07e18261
Merge master into staging-next 2023-04-06 00:02:09 +00:00
Robert Schütz f943ed92c8
Merge pull request #224363 from mweinelt/evcc-0.115.0
evcc: 0.114.1 -> 0.115.0; enumer: 1.5.7 -> 1.5.8
2023-04-05 16:17:08 -07:00
Sandro 11e6215e0d
Merge pull request #223567 from chvp/bump-hookshot 2023-04-06 01:16:48 +02:00
Martin Weinelt 6b615f3ca5
evcc: 0.114.1 -> 0.115.0
https://github.com/evcc-io/evcc/releases/tag/0.115.0
2023-04-06 00:11:24 +02:00
Martin Weinelt 36ef3d4a85
Merge pull request #224568 from mweinelt/zigbee2mqtt-1.30.3
zigbee2mqtt: 1.30.2 -> 1.30.3
2023-04-05 23:55:26 +02:00
Martin Weinelt da7761caca
Merge pull request #224629 from mweinelt/mediawiki-1.39.3
mediawiki: 1.39.2 -> 1.39.3
2023-04-05 22:10:27 +02:00
Weijia Wang b53c8ef027
Merge pull request #224841 from r-ryantm/auto-update/adguardhome
adguardhome: 0.107.26 -> 0.107.27
2023-04-05 21:59:14 +03:00
Martin Weinelt c418d8fc47
home-assistant.intents: 2023.2.28 -> 2023.3.29
Diff: https://github.com/home-assistant/intents/compare/refs/tags/2023.2.28...2023.3.29
2023-04-05 20:56:04 +02:00
github-actions[bot] 136b8f41e4
Merge master into staging-next 2023-04-05 18:01:36 +00:00
Robert Scott a4908b5e2d
Merge pull request #224379 from justinas/teleport-12-1-5
teleport: 12.1.0 -> 12.1.5
2023-04-05 18:51:24 +01:00
R. Ryantm 8c5b8838e6 adguardhome: 0.107.26 -> 0.107.27 2023-04-05 16:41:36 +00:00
Sandro ecde93d8e5
Merge pull request #218483 from JulienMalka/uptime-kuma-1.20.2
undefined
2023-04-05 15:02:25 +02:00
Ryan Lahfa a6bc6ed645
Merge pull request #206983 from minijackson/netbox-3.4.1
netbox: 3.3.9 -> 3.4.7, netbox_3_3: init at 3.3.10, RFC42-style options, more tests
2023-04-05 14:04:27 +02:00
github-actions[bot] ae5b53747b
Merge master into staging-next 2023-04-05 12:01:10 +00:00
Julien Malka 2b8d42a720
uptime-kuma: 1.20.0 -> 1.21.2 2023-04-05 14:00:26 +02:00
Vladimír Čunát d5f505691f
Merge #224612: knot-dns: 3.2.5 -> 3.2.6 2023-04-05 13:33:04 +02:00
Euan Kemp 5451b89b28 ankisyncd: use bundled anki version
Updating anki in the next commit will break it otherwise.
2023-04-05 19:58:50 +09:00
Uri Baghin eff0472ab6
Merge pull request #224756 from uri-canva/uri/build-targets
buildBazelPackage: support multiple targets
2023-04-05 20:40:41 +10:00
Charlotte Van Petegem 0e681fb600
matrix-hookshot: 3.0.1 -> 3.2.0
https://github.com/matrix-org/matrix-hookshot/releases/tag/3.1.0

https://github.com/matrix-org/matrix-hookshot/releases/tag/3.1.1

https://github.com/matrix-org/matrix-hookshot/releases/tag/3.2.0
2023-04-05 12:35:19 +02:00
Kerstin Humm ce7730aa87 mastodon: 4.1.1 -> 4.1.2 2023-04-05 11:41:13 +02:00
Jörg Thalheim 87083d40c0
Merge pull request #221856 from Mic92/dendrite
dendrite: 0.11.0 -> 0.12.0
2023-04-05 08:36:44 +01:00
github-actions[bot] 80f198ff3a
Merge staging-next into staging 2023-04-05 06:01:50 +00:00
Mario Rodas 3bb23bd81a postgresqlPackages.plv8: 3.1.4 -> 3.1.5 2023-04-05 04:20:00 +00:00
Uri Baghin 440b4de588 buildBazelPackage: support multiple targets 2023-04-05 12:59:54 +10:00
Candy Cloud 7a170a54d3 maintainers: remove candyc1oud 2023-04-05 00:29:57 +00:00
github-actions[bot] ad0239e550
Merge staging-next into staging 2023-04-05 00:03:07 +00:00
R. Ryantm e8d059ebd0 prometheus-nut-exporter: 2.5.3 -> 3.0.0 2023-04-04 20:24:24 +00:00
Benjamin Staffin f877b4fa16
Merge pull request #224344 from r-ryantm/auto-update/dex-oidc
dex-oidc: 2.35.3 -> 2.36.0
2023-04-04 14:26:41 -04:00
github-actions[bot] 5e498b046d
Merge staging-next into staging 2023-04-04 12:01:50 +00:00
Martin Weinelt 47428f1a16
mediawiki: Expose test variants individually
This fixes `nix-build -A mediawiki.tests`, which does not seem to
recurse into nested attribute sets, but instead returns.
2023-04-04 12:38:31 +02:00
Martin Weinelt 04e8e10104
mediawiki: 1.39.2 -> 1.39.3
https://lists.wikimedia.org/hyperkitty/list/mediawiki-announce@lists.wikimedia.org/message/6UQBHI5FWLATD7QO7DI4YS54U7XSSLAN/

Fixes: CVE-2020-36649, CVE-2023-29141
2023-04-04 12:33:56 +02:00
Martin Weinelt fea1100c99
Merge pull request #194420 from helsinki-systems/drop/elk6
elk6: remove
2023-04-04 11:55:33 +02:00
Jon Hermansen 2d7a54427c xorg.libpciaccess: fix pci.ids lookups at runtime
In GitHub issue #221592 I found that virt-manager was not showing PCI info.
Tracking the issue down points to this library, which is consumed by libvirt.
libpciaccess was reading from the default path of /usr/share/hwdata/pci.ids,
which will likely not exist on NixOS.

Instead of using the hard-coded path, change the libpciaccess package to depend
on hwdata at runtime and to be configured with the hwdata share path.

Updated the generation script, as well as committed the newly generated changes.
2023-04-04 11:54:59 +02:00
Raito Bezarius e965c5cc5f netbox_3_3: 3.3.9 -> 3.3.10 2023-04-04 11:47:03 +02:00
Raito Bezarius 03497d4ab4 netbox: introduce common function for generic packages, mark 3.3.9 EOL 2023-04-04 11:47:02 +02:00
Raito Bezarius c1081bf20b netbox: 3.4.6 -> 3.4.7 2023-04-04 11:45:31 +02:00
Minijackson 78eb4d64e7 netbox_3_3: init
reintroduce previous version, use in NixOS module if stateVersion < 23.05
2023-04-04 11:45:31 +02:00
Minijackson 6e054138b0 netbox: 3.4.5 -> 3.4.6 2023-04-04 11:45:30 +02:00
Minijackson 8dbfb9e263 netbox: 3.4.3 -> 3.4.5 2023-04-04 11:45:30 +02:00
Minijackson eeb17fca1c netbox: 3.4.2 -> 3.4.3 2023-04-04 11:45:30 +02:00
Minijackson 52f3031f23 netbox: 3.4.1 -> 3.4.2 2023-04-04 11:45:30 +02:00
Minijackson bc4b08acbe netbox: 3.3.9 -> 3.4.1 2023-04-04 11:45:29 +02:00
ajs124 09a6672bbf elasticsearch6*: remove 2023-04-04 10:32:23 +02:00
Vladimír Čunát 2a36db554b
knot-dns: 3.2.5 -> 3.2.6
This is mostly a bugfix version with a few improvements.
https://gitlab.nic.cz/knot/knot-dns/-/tags/v3.2.6
2023-04-04 09:57:19 +02:00
Vladimír Čunát f6455c7baf
Merge #223864: xwayland 22.1.8 -> 23.1.1 2023-04-04 08:03:36 +02:00
github-actions[bot] 0c95c3ea6b
Merge staging-next into staging 2023-04-04 06:01:40 +00:00
R. Ryantm d442ebf9f8 spicedb: 1.17.0 -> 1.19.0 2023-04-04 05:55:46 +00:00
adisbladis b01f185e48
Merge pull request #224486 from erictapen/remove-me-as-maintainer
remove myself as maintainer from packages which I don't use anymore
2023-04-04 15:06:07 +12:00
Martin Weinelt c28cde3aac
zigbee2mqtt: 1.30.2 -> 1.30.3
https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.30.3
2023-04-04 04:20:43 +02:00
Nick Cao 1e0b8b2395
Merge pull request #224424 from NickCao/vsmtp
vsmtp: 2.1.1 -> 2.2.1
2023-04-04 09:38:43 +08:00
github-actions[bot] 276892f80f
Merge staging-next into staging 2023-04-04 00:02:38 +00:00
山下 58af20bd05 elasticsearchPlugins: add analysis-kuromoji plugin 2023-04-04 08:51:41 +09:00
Bernardo Meurer 3c56307f5a
Merge pull request #224496 from lovesegfault/roon-updates 2023-04-03 16:15:09 -07:00
Thomas Gerbet ccbe18bbf7 meilisearch: 1.0.2 -> 1.1.0
https://github.com/meilisearch/meilisearch/releases/tag/v1.1.0
2023-04-03 19:05:30 -04:00
Vladimír Čunát 4eaca2b138
Merge #188492: glibc: 2.35-224 -> 2.37-8
...into staging
2023-04-03 20:29:07 +02:00
Bernardo Meurer 402800cf05
roon-server: 2.0-1234 -> 2.0-1244 2023-04-03 13:45:34 -03:00
Kerstin Humm 0b0cc93e79
remove myself (erictapen) from packages which I don't use anymore 2023-04-03 17:07:16 +02:00
Silvan Mosberger dbeebd154d
Merge pull request #224250 from GaetanLepage/invidious-update
invidious: unstable-2023-03-15 -> unstable-2023-03-31
2023-04-03 15:53:54 +02:00
ajs124 d59c85209d
Merge pull request #223752 from Izorkin/update-mariadb-galera
mariadb-galera: 26.4.13 -> 26.4.14
2023-04-03 13:12:33 +02:00
ajs124 8be794b197 nginx: sha256 -> hash 2023-04-03 12:40:49 +02:00
ajs124 9554582b34 nginxMainline: 1.23.3 -> 1.23.4 2023-04-03 12:29:54 +02:00
Nick Cao 0b4c7a3d41
vsmtp: 2.1.1 -> 2.2.1
Diff: https://github.com/viridIT/vsmtp/compare/v2.1.1...v2.2.1
2023-04-03 09:33:03 +08:00
Morgan Helton 42ca62eb01 sunshine: add updater script 2023-04-02 19:01:56 -05:00
Mario Rodas 3da9bd18db
Merge pull request #224215 from IndeedNotJames/victoriametrics
victoriametrics: 1.84.0 -> 1.89.1, add `meta.mainProgram`
2023-04-02 16:40:52 -05:00
Justinas Stankevicius a0405f0aa6 teleport: 12.1.0 -> 12.1.5 2023-04-02 19:09:11 +03:00
happysalada 5ba4f4293d chatgpt-retrieval-plugin: init module 2023-04-02 09:26:35 -04:00
Weijia Wang f9f0dcfe49
Merge pull request #224059 from r-ryantm/auto-update/klipper
klipper: unstable-2023-03-15 -> unstable-2023-03-30
2023-04-02 15:49:44 +03:00
Azat Bahawi b8fc680264
Merge pull request #224315 from r-ryantm/auto-update/exportarr
exportarr: 1.1.0 -> 1.2.6
2023-04-02 15:35:32 +03:00
Weijia Wang 1640ce42a9
Merge pull request #224003 from r-ryantm/auto-update/oven-media-engine
oven-media-engine: 0.15.5 -> 0.15.7
2023-04-02 15:05:21 +03:00
R. Ryantm 1b3f8f6b9c dex-oidc: 2.35.3 -> 2.36.0 2023-04-02 08:59:20 +00:00
R. Ryantm 33ea46a5f7 exportarr: 1.1.0 -> 1.2.6 2023-04-02 04:00:58 +00:00
Mario Rodas 19b21a4b61
Merge pull request #224019 from techknowlogick/consul-1152
consul: 1.15.1 -> 1.15.2
2023-04-01 18:05:05 -05:00
Sandro 5454044f74
Merge pull request #213265 from jvanbruegge/audiobookshelf 2023-04-01 23:48:13 +02:00
Luke Granger-Brown 7c66437cba
Merge pull request #207248 from Izorkin/update-nginx
nginxQuic: 3be953161026 -> 0af598651e33
2023-04-01 21:55:05 +01:00
Nikolay Korotkiy 63f7debd79
Merge pull request #224224 from happysalada/update_surrealdb
surrealdb: 1.0.0-beta.8 -> 1.0.0-beta.9
2023-04-01 22:58:41 +04:00
Sandro ab8f1821af
Merge pull request #216307 from lorenzleutgeb/gradle-8 2023-04-01 20:33:05 +02:00
Gaetan Lepage ce7c7b3312 invidious: unstable-2023-03-15 -> unstable-2023-03-31 2023-04-01 19:29:31 +02:00
Vladimír Čunát 7a6a2830fd
Merge #224067: xorg-server: 21.1.7 -> 21.1.8
https://lists.x.org/archives/xorg-announce/2023-March/003377.html
fixes CVE-2023-1393
2023-04-01 18:31:31 +02:00
happysalada a4f5b6a3ae surrealdb: 1.0.0-beta.8 -> 1.0.0-beta.9 2023-04-01 10:20:27 -04:00
Mario Rodas c937feb1a1
Merge pull request #219826 from noctarius/master
Fixed TimescaleDB License Information
2023-04-01 09:19:04 -05:00
Izorkin fb14301291
mariadb-galera: 26.4.13 -> 26.4.14 2023-04-01 16:55:37 +03:00
IndeedNotJames 3e358eb06d
victoriametrics: add meta.mainProgram 2023-04-01 15:26:44 +02:00
IndeedNotJames 3ae8b5339d
victoriametrics: 1.84.0 -> 1.89.1
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.89.1
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.89.0
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.88.1
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.88.0
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.87.4 (LTS)
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.87.3 (LTS)
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.87.2 (LTS)
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.87.1 (LTS)
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.87.0 (LTS)
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.86.2
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.86.1
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.86.0
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.85.3
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.85.2
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.85.1
https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.85.0
diff: https://github.com/VictoriaMetrics/VictoriaMetrics/compare/v1.84.0...v1.89.1

`lib/querytracer/tracer.go` uses `buildinfo.Version`, but its tests expect that value to be unset, which is why I had to add that preCheck phase.
Context:
49ebc48809
3019ec3da6
8434aa142d

Also, `lib/storage/storage_test.go` switched to `time.NewTimer` in some places.
2023-04-01 15:25:20 +02:00
Mario Rodas 97a088c5e2
Merge pull request #224167 from r-ryantm/auto-update/jackett
jackett: 0.20.3689 -> 0.20.3723
2023-04-01 08:18:12 -05:00
Izorkin 9f2a1d98aa
nginxQuic: 3be953161026 -> 0af598651e33 2023-04-01 13:09:48 +03:00
piegames 9448487d9f
Merge pull request #224084: heisenbridge: 1.13.1 -> 1.14.2 2023-04-01 12:08:23 +02:00
R. Ryantm 147c3c0f28 jackett: 0.20.3689 -> 0.20.3723 2023-04-01 04:40:37 +00:00
Ilan Joselevich 76c72030c5
Merge pull request #223327 from shadaj/update-openvscode-server-1.76.2
openvscode-server: 1.75.0 -> 1.76.2
2023-04-01 01:51:43 +03:00
Weijia Wang 737c94a12c
Merge pull request #223451 from vifino/vifino/mango-fixes
mongodb: Fix aarch64 target; 4.4.13 -> 4.4.19
2023-03-31 23:14:17 +03:00
Nikolay Korotkiy 1c0ae9981b
Merge pull request #223857 from r-ryantm/auto-update/martin
martin: 0.8.0 -> 0.8.1
2023-03-31 19:50:13 +04:00
maxine 3d1d7c88cb
Merge pull request #223991 from r-ryantm/auto-update/plexRaw 2023-03-31 15:21:42 +00:00
Natsu Kagami bd06af8182
heisenbridge: 1.13.1 -> 1.14.2 2023-03-31 16:54:37 +02:00
Matt Christ 3a9aec90fc xorg-server: 21.1.7 -> 21.1.8 fixes CVE-2023-1393 2023-03-31 07:29:02 -05:00
R. Ryantm 72306f1368 klipper: unstable-2023-03-15 -> unstable-2023-03-30 2023-03-31 11:12:04 +00:00
Sandro 5332b2b4d3
Merge pull request #213168 from LeSuisse/rustls-ffi-init
rustls-ffi: init at 0.9.2 and make possible to build Apache mod_tls with it
2023-03-31 11:25:24 +02:00
K900 fd5d1c8eab
Merge pull request #223841 from wahjava/update-tailscale
tailscale: 1.38.2 -> 1.38.3
2023-03-31 11:18:57 +03:00
Mario Rodas 079209be0e postgresqlPackages.pgrouting: 3.4.2 -> 3.5.0
https://github.com/pgRouting/pgrouting/releases/tag/v3.5.0
2023-03-31 04:20:00 +00:00
Sandro 93ef3ba3ec
Merge pull request #223608 from misuzu/snac2-update 2023-04-01 02:54:47 +02:00
Sandro 6b9fecdb2d
Merge pull request #221539 from Stunkymonkey/ariang-init-1.3.3 2023-04-01 02:34:19 +02:00
techknowlogick 64706bad14 consul: 1.15.1 -> 1.15.2
Diff: https://github.com/hashicorp/consul/compare/v1.15.1...v1.15.2
2023-03-30 23:59:21 -04:00
happysalada 8b5ca66432 chatgpt-retrieval-plugin: init at unstable-2023-03-28 2023-03-30 22:29:54 -04:00
R. Ryantm 7cd07d61dc oven-media-engine: 0.15.5 -> 0.15.7 2023-03-31 01:45:37 +00:00
R. Ryantm f3363d1c1b plexRaw: 1.31.2.6810-a607d384f -> 1.31.3.6868-28fc46b27 2023-03-30 23:56:11 +00:00
Pascal Bach 7563cb6256
Merge pull request #223855 from r-ryantm/auto-update/minio
minio: 2023-03-13T19-46-17Z -> 2023-03-24T21-41-23Z
2023-03-30 22:49:36 +02:00
Weijia Wang fc80e3446c
Merge pull request #223836 from r-ryantm/auto-update/wishlist
wishlist: 0.9.0 -> 0.10.0
2023-03-30 23:08:01 +03:00
Sandro 89b5be094b
Merge pull request #223785 from dotlambda/nextcloud-previewgenerator-init
nextcloudPackages.apps.previewgenerator: init at 5.2.1
2023-03-30 16:12:05 +02:00
Félix Baylac Jacqué 9ebbbb4fc0 Pleroma: use libxcrypt-legacy
4e300e071b disabled the "weak cyphers"
on libxcrypt. For some reason, this is breaking the crypt hex library.

Using lybxcrypt-legacy, which re-enables these weak cyphers.

Upstream removed the crypt dependency and is drafting a new release.
We'll drop altogether this libxcrypt dependency soon enough anyways.

Fixes #223518
2023-03-30 13:49:58 +02:00
Rouven Czerwinski 6d097e3385 xwayland 22.1.8 -> 23.1.1
Some notable changes since Xwayland 22.1 include:

  - Support for linux_dmabuf v4 protocol,
  - Support for wl_pointer.axis_v120 (high-resolution scrolling),
  - Support for xwayland_shell protocol,
  - Improved "rootful" mode for using Xwayland as a nested Xserver,
  - Improved emulated XRandR support exposing the output names,
  - Support for byte-swapped clients is now disabled by default.

Link: https://lists.x.org/archives/xorg-announce/2023-February/003330.html
2023-03-30 07:57:43 +02:00
R. Ryantm 7fdaba883b martin: 0.8.0 -> 0.8.1 2023-03-30 04:42:11 +00:00
R. Ryantm ed520fb76a minio: 2023-03-13T19-46-17Z -> 2023-03-24T21-41-23Z 2023-03-30 03:46:51 +00:00
Ashish SHUKLA 033dbb172d
tailscale: 1.38.2 -> 1.38.3 2023-03-30 07:39:25 +05:30
R. Ryantm f34264640d wishlist: 0.9.0 -> 0.10.0 2023-03-30 01:47:51 +00:00
Robert Schütz 9e87f7dbde nextcloud-notify_push: 0.6.1 -> 0.6.2
Diff: https://github.com/nextcloud/notify_push/compare/v0.6.1...v0.6.2
2023-03-29 15:50:11 -07:00
Robert Schütz 9c3a588fa0 nextcloudPackages.apps.previewgenerator: init at 5.2.1 2023-03-29 13:23:42 -07:00
Robert Schütz b7405ea851
Merge pull request #223582 from SuperSandro2000/nextcloud-notify_push-bump
nextcloud-notify_push: 0.6.0 -> 0.6.1
2023-03-29 13:17:59 -07:00
Mario Rodas 3e8f1573e9
Merge pull request #223420 from noisersup/ferretdb-0.9.4
ferretdb: 0.9.3 -> 0.9.4
2023-03-29 08:00:53 -05:00
Luke Granger-Brown 74ffb03af0
Merge pull request #223678 from r-ryantm/auto-update/pomerium
pomerium: 0.21.2 -> 0.21.3
2023-03-29 13:25:55 +01:00
Sandro c2ae278eb8
Merge pull request #221851 from Ma27/postgresql-jit-support
postgresql: implement opt-in JIT support
2023-03-29 13:29:30 +02:00
Stanisław Pitucha dcd028c9e0
Merge pull request #222998 from viraptor/livepeer-darwin
livepeer: mark not broken on darwin
2023-03-29 22:23:41 +11:00
Izorkin e57d014454 mastodon: update ruby package 2023-03-29 12:41:21 +02:00
Maximilian Bosch 7046f09fe4
xorg.xdm: fix build w/glibc-2.36
Failing Hydra build: https://hydra.nixos.org/build/193323749
2023-03-29 09:50:28 +02:00
Maximilian Bosch 9f2b4357c1
postgresql: save rebuilds of existing packages
...by using `+ lib.optionalString ...` rather than a substitution. That
way the phases don't have additional trailing white-spaces in the
non-JIT case which cause rebuilds.
2023-03-29 08:39:47 +02:00
Maximilian Bosch a5a715bb24
postgresql_jit: fix darwin build
So, patchelf works on ELF files and these don't exist on Darwin. I'm not
aware of any other way to eliminate all references of the executable's
body while preserving library paths in the header. This still works, the
only problem is that darwin has a dependency on llvm.dev, so it's
runtime closure is larger.
2023-03-29 08:39:47 +02:00
Maximilian Bosch 43dbeae02d
postgresql: pass through JIT-enabled variant of non-JIT postgres and vice versa
This is useful if your postgresql version is dependant on
`system.stateVersion` and not pinned down manually. Then it's not
necessary to find out which version exactly is in use and define
`package` manually, but just stay with what NixOS provides as default:

    $ nix-instantiate -A postgresql
    /nix/store/82fzmb77mz2b787dgj7mn4a8i4f6l6sn-postgresql-14.7.drv
    $ nix-instantiate -A postgresql_jit
    /nix/store/qsjkb72fcrrfpsszrwbsi9q9wgp39m50-postgresql-14.7.drv
    $ nix-instantiate -A postgresql.withJIT
    /nix/store/qsjkb72fcrrfpsszrwbsi9q9wgp39m50-postgresql-14.7.drv
    $ nix-instantiate -A postgresql.withJIT.withoutJIT
    /nix/store/82fzmb77mz2b787dgj7mn4a8i4f6l6sn-postgresql-14.7.drv

I.e. you can use postgresql with JIT (for complex queries only[1]) like
this:

    services.postgresql = {
      enable = true;
      enableJIT = true;
    };

Performing a new override instead of re-using the `_jit`-variants for
that has the nice property that overlays for the original package apply
to the JIT-enabled variant, i.e.

    with import ./. {
      overlays = [
        (self: super: {
          postgresql = super.postgresql.overrideAttrs (_: { fnord = "snens"; });
        })
      ];
    };
    postgresql.withJIT.fnord

still gives the string `snens` whereas `postgresql_jit` doesn't have the
attribute `fnord` in its derivation.

[1] https://www.postgresql.org/docs/current/runtime-config-query.html#GUC-JIT-ABOVE-COST
2023-03-29 08:39:46 +02:00
Maximilian Bosch 2282fa73a1
postgresql: implement opt-in JIT support
Closes #150801

Note: I decided against resuming directly on #150801 because the
conflict was too big (and resolving it seemed too error-prone to me).
Also the `this`-refactoring could be done in an easier manner, i.e. by
exposing JIT attributes with the correct configuration. More on that
below.

This patch creates variants of the `postgresql*`-packages with JIT[1]
support. Please note that a lot of the work was derived from previous
patches filed by other contributors, namely dasJ, andir and abbradar,
hence the co-authored-by tags below.

Effectively, the following things have changed:

* For JIT variants an LLVM-backed stdenv with clang is now used as
  suggested by dasJ[2]. We need LLVM and CLang[3] anyways to build the
  JIT-part, so no need to mix this up with GCC's stdenv. Also, using the
  `dev`-output of LLVM and clang's stdenv for building (and adding llvm
  libs as build-inputs) seems more cross friendly to me (which will
  become useful when cross-building for JIT-variants will actually be
  supported).

* Plugins inherit the build flags from the Makefiles in
  `$out/lib/pgxs/src` (e.g. `-Werror=unguarded-availability-new`). Since
  some of the flags are clang-specific (and stem from the use of the
  CLang stdenv) and don't work on gcc, the stdenv of `pkgs.postgresql`
  is passed to the plugins. I.e., plugins for non-JIT variants are built
  with a gcc stdenv on Linux and plugins for JIT variants with a clang
  stdenv.

  Since `plv8` hard-codes `gcc` as `$CC` in its Makefile[4], I marked it
  as broken for JIT-variants of postgresql only.

* Added a test-matrix to confirm that JIT works fine on each
  `pkgs.postgresql_*_jit` (thanks Andi for the original test in
  #124804!).

* For each postgresql version, a new attribute
  `postgresql_<version>_jit` (and a corresponding
  `postgresqlPackages<version>JitPackages`) are now exposed for better
  discoverability and prebuilt artifacts in the binary cache.

* In #150801 the `this`-argument was replaced by an internal recursion.
  I decided against this approach because it'd blow up the diff even
  more which makes the readability way harder and also harder to revert
  this if necessary.

  Instead, it is made sure that `this` always points to the correct
  variant of `postgresql` and re-using that in an additional
  `.override {}`-expression is trivial because the JIT-variant is
  exposed in `all-packages.nix`.

* I think the changes are sufficiently big to actually add myself as
  maintainer here.

* Added `libxcrypt` to `buildInputs` for versions <v13. While
  building things with an LLVM stdenv, these versions complained that
  the extern `crypt()` symbol can't be found. Not sure what this is
  exactly about, but since we want to switch to libxcrypt for `crypt()`
  usage anyways[5] I decided to add it. For >=13 it's not relevant
  anymore anyways[6].

* JIT support doesn't work with cross-compilation. It is attempted to
  build LLVM-bytecode (`%.bc` is the corresponding `make(1)`-rule) for
  each sub-directory in `backend/` for the JIT apparently, but with a
  $(CLANG) that can produce binaries for the build, not the host-platform.

  I managed to get a cross-build with JIT support working with
  `depsBuildBuild = [ llvmPackages.clang ] ++ buildInputs`, but
  considering that the resulting LLVM IR isn't platform-independent this
  doesn't give you much. In fact, I tried to test the result in a VM-test,
  but as soon as JIT was used to optimize a query, postgres would
  coredump with `Illegal instruction`.

A common concern of the original approach - with llvm as build input -
was the massive increase of closure size. With the new approach of using
the LLVM stdenv directly and patching out references to the clang drv in
`$out` the effective closure size changes are:

    $ nix path-info -Sh $(nix-build -A postgresql_14)
    /nix/store/kssxxqycwa3c7kmwmykwxqvspxxa6r1w-postgresql-14.7	306.4M
    $ nix path-info -Sh $(nix-build -A postgresql_14_jit)
    /nix/store/xc7qmgqrn4h5yr4vmdwy56gs4bmja9ym-postgresql-14.7	689.2M

Most of the increase in closure-size stems from the `lib`-output of
LLVM

    $ nix path-info -Sh /nix/store/5r97sbs5j6mw7qnbg8nhnq1gad9973ap-llvm-11.1.0-lib
    /nix/store/5r97sbs5j6mw7qnbg8nhnq1gad9973ap-llvm-11.1.0-lib	349.8M

which is why this shouldn't be enabled by default.

While this is quite much because of LLVM, it's still a massive
improvement over the simple approach of adding llvm/clang as
build-inputs and building with `--with-llvm`:

    $ nix path-info -Sh $(nix-build -E '
	with import ./. {};
	postgresql.overrideAttrs ({ configureFlags ? [], buildInputs ? [], ... }: {
	  configureFlags = configureFlags ++ [ "--with-llvm" ];
	  buildInputs = buildInputs ++ [ llvm clang ];
	})' -j0)
    /nix/store/i3bd2r21c6c3428xb4gavjnplfqxn27p-postgresql-14.7	  1.6G

Co-authored-by: Andreas Rammhold <andreas@rammhold.de>
Co-authored-by: Janne Heß <janne@hess.ooo>
Co-authored-by: Nikolay Amiantov <ab@fmap.me>

[1] https://www.postgresql.org/docs/current/jit-reason.html
[2] https://github.com/NixOS/nixpkgs/pull/124804#issuecomment-864616931
    & https://github.com/NixOS/nixpkgs/pull/150801#issuecomment-1467868321
[3] This fails with the following error otherwise:
    ```
    configure: error: clang not found, but required when compiling --with-llvm, specify with CLANG=
    ```
[4] https://github.com/plv8/plv8/blob/v3.1.5/Makefile#L14
[5] https://github.com/NixOS/nixpkgs/pull/181764
[6] c45643d618
2023-03-29 08:39:46 +02:00
R. Ryantm aa6fd7cb06 pomerium: 0.21.2 -> 0.21.3 2023-03-29 02:57:27 +00:00
Robert Schütz 8373cbec30 nextcloudPackages: update 2023-03-28 18:43:27 -07:00
Martin Weinelt e911a4d6cd
Merge pull request #223055 from LeSuisse/apache-2.4.56
apacheHttpd: 2.4.55 -> 2.4.56
2023-03-29 01:14:27 +02:00
Weijia Wang d6fc33dd36
Merge pull request #223546 from r-ryantm/auto-update/jackett
jackett: 0.20.3670 -> 0.20.3689
2023-03-29 01:06:29 +03:00
Weijia Wang 8963d6dd92
Merge pull request #223505 from r-ryantm/auto-update/memcached
memcached: 1.6.18 -> 1.6.19
2023-03-29 01:03:29 +03:00
Weijia Wang ab64f45609
Merge pull request #222965 from r-ryantm/auto-update/snappymail
snappymail: 2.26.4 -> 2.27.2
2023-03-29 00:08:19 +03:00
misuzu 23ae5a0622 snac2: 2.15 -> 2.25
https://codeberg.org/grunfink/snac2/src/tag/2.25/RELEASE_NOTES.md
https://codeberg.org/grunfink/snac2/compare/2.15...2.25
2023-03-28 22:58:44 +03:00
Otto Sabart 34eb88e5c2
zabbix40: 4.0.37 -> 4.0.44 2023-03-28 21:00:00 +02:00
Otto Sabart 85f74d19ef
zabbix50: 5.0.19 -> 5.0.33 2023-03-28 21:00:00 +02:00
Otto Sabart aa7e820934
zabbix60: 6.0.9 -> 6.0.14 2023-03-28 21:00:00 +02:00
Maximilian Bosch 6c928a0729
Merge pull request #223561 from sumnerevans/matrix-synapse-1.80
matrix-synapse: 1.79.0 -> 1.80.0
2023-03-28 19:06:29 +02:00
Thomas Gerbet ce5b2e3773 apacheHttpd: add option to build experimental mod_tls
https://httpd.apache.org/docs/2.4/mod/mod_tls.html

Note: the attribute has been named `modTlsSupport` instead of
`tlsSupport` to try to limit the confusion with the existing
`sslSupport` attribute.
2023-03-28 18:00:35 +02:00
Weijia Wang e5a748c2d5
Merge pull request #222707 from r-ryantm/auto-update/redpanda
redpanda: 23.1.1 -> 23.1.3
2023-03-28 17:18:23 +03:00
Sandro Jäckel 282d3a0335
nextcloud-notify_push: 0.6.0 -> 0.6.1
Diff: https://github.com/nextcloud/notify_push/compare/v0.6.0...v0.6.1
2023-03-28 15:13:21 +02:00
Sumner Evans a991a71d04
matrix-synapse: 1.79.0 -> 1.80.0
Signed-off-by: Sumner Evans <me@sumnerevans.com>
2023-03-28 13:55:24 +02:00
R. Ryantm ded33fd591 jackett: 0.20.3670 -> 0.20.3689 2023-03-28 10:13:28 +00:00
noisersup 6be98b2a33 ferretdb: 0.9.3 -> 0.9.4 2023-03-28 11:58:16 +02:00
Sandro edd434bf9b
Merge pull request #222594 from raphaelr/update/honk
honk: 0.9.8 -> 0.9.91
2023-03-28 10:09:30 +02:00
R. Ryantm 49e3f4fe0c memcached: 1.6.18 -> 1.6.19 2023-03-28 06:11:04 +00:00
Bill Ewanick b81f7d15f1 lemmy: 0.17.1 -> 0.17.2 2023-03-27 21:08:36 -04:00
Sandro 44a4f6fb19
Merge pull request #206843 from Izorkin/fix-wsdd 2023-03-27 23:24:12 +02:00
Adrian Pistol af412536e8 mongodb-4_4: 4.4.13 -> 4.4.19 2023-03-27 22:15:23 +02:00
Ryan Lahfa f39c23adae
Merge pull request #223268 from stuebinm/netbox-composible-packageOverrides
netbox: workaround to allow composible python packageOverrides
2023-03-27 22:06:39 +02:00