Commit graph

365921 commits

Author SHA1 Message Date
maxine [they] db5e4dbdd5
Merge pull request #166589 from maxeaubrey/yaru_22.04.3.1
yaru-theme: 22.04.2 -> 22.04.3.1
2022-04-01 10:33:49 +02:00
R. Ryantm 9a2a80df28 python310Packages.glean-parser: 5.1.0 -> 5.1.1 2022-04-01 08:10:31 +00:00
Artturi 83063f39b2
Merge pull request #166780 from Artturin/removedeadddir 2022-04-01 11:10:12 +03:00
Artturi 96a1835155
Merge pull request #166771 from Artturin/zoteroscheme 2022-04-01 11:09:33 +03:00
Pavol Rusnak 1af5aa0b0b
Merge pull request #166587 from teutat3s/bump/electron-17-3-1
electron_17: 17.1.2 -> 17.3.1, electron_16: 16.1.0 -> 16.2.1, electron_15: 15.4.1 -> 15.5.1, electron_14: 14.2.7 -> 14.2.9 (EOL)
2022-04-01 10:04:15 +02:00
Florian Brandes 58b6768280 pinegrow: bugfix for missing gsettings
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-01 11:00:44 +03:00
Artturin 34fd00a5b8 pkgs: remove dead dir 2022-04-01 10:33:51 +03:00
Thiago Kenji Okada d9448bd7d9
Merge pull request #166718 from thiagokokada/add-graalvmDrv
buildGraalvmNativeImage: allow usage of arbitrary graalvm derivation
2022-04-01 08:19:43 +01:00
R. Ryantm a21282a02d python310Packages.plaid-python: 9.1.1 -> 9.2.0 2022-04-01 07:08:35 +00:00
Doron Behar a44b35dc41
Merge pull request #166299 from doronbehar/pkg/python/particle 2022-04-01 09:55:24 +03:00
Artturin 36c36411b8 .github/workflows/basic-eval.yml: only run if manually triggered
ofborg should have obsoleted this with https://github.com/NixOS/ofborg/pull/588#issuecomment-1078451552
https://github.com/NixOS/nixpkgs/pull/166599#issuecomment-1085069938

this is still useful to have around for act usage
2022-04-01 09:48:20 +03:00
Artturin c2b8260981 zotero: add x-scheme-handler/zotero to desktop file
so `zotero://select/library/items/GICAH8PU` will work
2022-04-01 09:33:37 +03:00
illustris ff86a2f24f spark: 3.1.2 -> 3.1.3 2022-04-01 12:01:00 +05:30
Doron Behar 34f5c38b50 python3.pkgs.particle: init at 0.20.1 2022-04-01 09:21:46 +03:00
Bernardo Meurer ee1c4365d1
Merge pull request #166768 from lovesegfault/pulumi-update
pulumi: update plugins
2022-03-31 23:21:14 -07:00
Bernardo Meurer ae79ae5805 pulumi: update plugins 2022-03-31 23:20:51 -07:00
illustris 8a21b4ea92 spark: mark 2.4 as vulnerable 2022-04-01 11:44:43 +05:30
R. Ryantm 3c2a06387a python310Packages.fastcore: 1.4.0 -> 1.4.1 2022-04-01 06:13:01 +00:00
Alex Martens 71cf6e512c cargo-spellcheck: 0.11.1 -> 0.11.2 2022-03-31 22:42:28 -07:00
Vincent Laporte 3a5df670ef ocaml-ng.ocamlPackages_4_14.ocaml: 4.14.0-rc2 → 4.14.0 2022-04-01 06:54:57 +02:00
R. Ryantm 3815aff670 python310Packages.pynetgear: 0.9.1 -> 0.9.2 2022-04-01 04:02:42 +00:00
Artturi 0f81488e9a
Merge pull request #166725 from r-ryantm/auto-update/oh-my-zsh
oh-my-zsh: 2022-03-29 -> 2022-03-31
2022-04-01 06:29:12 +03:00
Bobby Rong 57d754ee3c
gnome.five-or-more: format with nixpkgs-fmt 2022-04-01 11:28:55 +08:00
Bobby Rong 20d0500abd
gnome.aisleriot: 3.22.21 → 3.22.22
https://gitlab.gnome.org/GNOME/aisleriot/-/compare/3.22.21...3.22.22
2022-04-01 11:28:55 +08:00
Artturi c7ac6ff789
Merge pull request #162063 from martinetd/logrotate_size
logrotate: update to freeform
2022-04-01 06:21:11 +03:00
John Ericson 8dc7ebc9cb
Merge pull request #161177 from a-m-joseph/dante-mips64
dante: skip configure-time getaddrinfo-too-low check on mips64
2022-03-31 22:44:08 -04:00
Bobby Rong bed9ee3f95
Merge pull request #166550 from bobby285271/vala_0_48
vala_0_48: 0.48.23 → 0.48.24
2022-04-01 10:39:15 +08:00
Bobby Rong 31e6f3b066
Merge pull request #166530 from bobby285271/gnome-online-accounts
gnome-online-accounts: 3.43.1 -> 3.44.0
2022-04-01 10:38:00 +08:00
Silvan Mosberger fda16bfd32
Merge pull request #165532 from Infinisil/syncplay-password 2022-04-01 04:37:22 +02:00
Ryan Mulligan b9b4df9407
Merge pull request #166731 from r-ryantm/auto-update/p2pool
p2pool: 1.8 -> 1.9
2022-03-31 19:35:18 -07:00
Ryan Mulligan 8403a362b0
Merge pull request #166497 from r-ryantm/auto-update/podman-tui
podman-tui: 0.2.0 -> 0.3.0
2022-03-31 19:34:20 -07:00
Ryan Mulligan e1398fe7a0
Merge pull request #166743 from r-ryantm/auto-update/python310Packages.apycula
python310Packages.apycula: 0.2 -> 0.3
2022-03-31 19:33:41 -07:00
Martin Weinelt b58813a324
Merge pull request #166720 from mweinelt/mediawiki 2022-04-01 04:15:06 +02:00
R. Ryantm 4cb2ef1c92 python310Packages.apycula: 0.2 -> 0.3 2022-04-01 01:33:36 +00:00
R. Ryantm c2080cdc04 python310Packages.ansible-later: 2.0.8 -> 2.0.9 2022-04-01 01:18:54 +00:00
Craig Younkins f1dbf7d0ad fclones: 0.18.1 -> 0.19.0 2022-03-31 21:09:57 -04:00
R. Ryantm ff1c57bcfd spectre-meltdown-checker: 0.44 -> 0.45 2022-04-01 00:52:22 +00:00
R. Ryantm 510b655a08 python310Packages.mypy-boto3-builder: 7.5.4 -> 7.5.5 2022-04-01 00:50:56 +00:00
TredwellGit 601e1d9d4b Merge pull request #166712 from TredwellGit/brave
brave: 1.36.122 -> 1.37.109
2022-04-01 00:43:24 +00:00
Anderson Torres ffa7483c97
Merge pull request #166375 from r-ryantm/auto-update/poke
poke: 2.1 -> 2.2
2022-03-31 21:25:36 -03:00
Ryan Mulligan 5e2ced2025
Merge pull request #166588 from r-ryantm/auto-update/dsq
dsq: 0.9.0 -> 0.11.0
2022-03-31 16:19:10 -07:00
Adam Joseph aeb47faee2 dante: skip configure-time getaddrinfo-too-low check on mips64
This patch allows dante to be compiled (and cross-compiled) for mips64el.

Co-authored-by: John Ericson <git@JohnEricson.me>
2022-03-31 16:04:49 -07:00
R. Ryantm b1d0be8bc7 p2pool: 1.8 -> 1.9 2022-03-31 23:02:53 +00:00
Pavel Borzenkov 6a751ecd39 terraform-providers.namecheap: init at 2.1.0
The provider allows to manage Namecheap DNS via terraform.
2022-04-01 08:23:33 +10:00
Dominique Martinet 829c611b48 logrotate: add logrotate-checkconf.service
the build-time check is not safe (e.g. doesn't protect from bad users or nomissingok
paths missing), so add a new unit for configuration switch time check
2022-04-01 07:09:27 +09:00
Dominique Martinet b0a04e4105 nginx/logrotate: run logrotate as nginx user 2022-04-01 07:09:27 +09:00
Dominique Martinet 45ef5c1741 logrotate: add configuration check at build time
Now the service no longer starts immediately,
check if the config we generated makes sense as soon as possible.

The check isn't perfect because logrotate --debug wants to check
users required, there are two problems:
 - /etc/passwd and /etc/group are sandboxed and we don't have
visibility of system users
 - the check phase runs as nixbld which cannot su to other users
and logrotate fails on this

Until these two problems can be addressed, users-related checks
are filtered out, it's still much better than no check.
The check can be disabled with services.logrotate.checkConfig
if required
(bird also has a preCheck param, to prepare the environment
before check, but we can add it if it becomes necessary)

Since this makes for very verbose builds, we only show errors:
There is no way to control log level, but logrotate hardcodes
'error:' at common log level, so we can use grep, taking care
to keep error codes

Some manual tests:
───────┬──────────────────────────────────────────
       │ File: valid-config.conf
───────┼──────────────────────────────────────────
   1   │ missingok
───────┴──────────────────────────────────────────
logrotate --debug ok
grep ok

───────┬──────────────────────────────────────────
       │ File: postrotate-no-end.conf
───────┼──────────────────────────────────────────
   1   │ missingok
   2   │ /file {
   3   │    postrotate
   4   │      test
   5   │ }
───────┴──────────────────────────────────────────
error: postrotate-no-end.conf:prerotate, postrotate or preremove without endscript

───────┬──────────────────────────────────────────
       │ File: missing-file.conf
───────┼──────────────────────────────────────────
   1   │ "test" { daily }
───────┴──────────────────────────────────────────
error: stat of test failed: No such file or directory

───────┬──────────────────────────────────────────
       │ File: unknown-option.conf
───────┼──────────────────────────────────────────
   1   │ some syntax error
───────┴──────────────────────────────────────────
logrotate --debug ok
error: unknown-option.conf:1 unknown option 'some' -- ignoring line

───────┬──────────────────────────────────────────
       │ File: unknown-user.conf
───────┼──────────────────────────────────────────
   1   │ su notauser notagroup
───────┴──────────────────────────────────────────
error: unknown-user.conf:1 unknown user 'notauser'

In particular note that logrotate would not error on unknown option
(it just ignores the line) but this change makes the check fail.
2022-04-01 07:09:27 +09:00
Dominique Martinet e92c05349c nixos/logrotate: convert to freeform
using freeform is the new standard way of using modules and should replace
extraConfig.
In particular, this will allow us to place a condition on mails
2022-04-01 07:09:26 +09:00
Dominique Martinet 3cc8ea28d1 logrotate: add services.logrotate.configFile escape hatch 2022-04-01 07:09:26 +09:00
Dominique Martinet 3a2fa0d049 logrotate: run through nixpkgs-fmt
Running once now will make further patches formatting easier
2022-04-01 07:09:26 +09:00