Commit graph

286854 commits

Author SHA1 Message Date
Silvan Mosberger
8b957e3b30 lib/tests: Add type deprecation tests 2021-05-03 22:16:06 +02:00
Silvan Mosberger
4b54aedee5 lib/modules: Issue type deprecation warnings recursively
Previously, an option of type

  attrsOf string

wouldn't throw a deprecation warning, even though the string type is
deprecated. This was because the deprecation warning trigger only looked
at the type of the option itself, not any of its subtypes.

This commit fixes this, causing each of the types deprecationMessages to
trigger for the option. This relies on the subtypes mkOptionType
attribute introduced in 26607a5a2e06653fec453c83d063cdfc4b59185f
2021-05-03 22:16:02 +02:00
Silvan Mosberger
ce5e3113c3 lib/tests: Make sure the submodule type description can be evaluated
In 2d45a62899, the submodule type
description was amended with the freeformType description. This causes
all the modules passed to the submodule to be evaluated once on their
own, without any extra definitions from the config section. This means
that the specified modules need to be valid on their own, without any
undeclared options.

This commit adds a test that evaluates a submodules option description,
which would trigger the above problem for one of the tests, if it were
not fixed by this commit as well.

This is done because the next commit makes option evaluation a bit more
strict, which would also trigger this test failure, even though it's not
related to the change at all.
2021-05-03 22:15:33 +02:00
Silvan Mosberger
68955fe612 lib/types: Introduce mkOptionType occurringTypes argument
This will be used to issue deprecation warnings recursively in the next
commit

In addition, this allows easily getting nested types of other options, which
is useful when you want to create an option that aliases a part of
another one.
2021-05-03 22:15:30 +02:00
alvar
f7906ec8b2
pythonPackages.pytmx: 3.24.0 -> 3.25.0 (#121485) 2021-05-03 19:15:33 +02:00
Tethys Svensson
a376d4944c
busybox: Add a fix for CVE-2021-28831 (#121578) 2021-05-03 19:01:09 +02:00
davidak
32f6c7d949
Merge pull request #121542 from dotlambda/authenticator-init
authenticator: init at 4.0.3
2021-05-03 19:00:45 +02:00
Luke Granger-Brown
049850341e
Merge pull request #121540 from lukegb/postfix-compat
nixos/tests/rspamd: fix OOM flakyness
2021-05-03 17:36:46 +01:00
Luke Granger-Brown
4e06e6e005
Merge pull request #121541 from lukegb/git-test
nixos/tests/gitdaemon: deflake by using systemd-tmpfiles
2021-05-03 17:36:01 +01:00
Luke Granger-Brown
4f9fe889b8
Merge pull request #121548 from lukegb/bios-usb-better
nixos/tests/installer: fix for i686-linux
2021-05-03 17:35:24 +01:00
Martin Weinelt
d23610ae65
Merge pull request #121209 from mweinelt/pinnwand 2021-05-03 18:24:45 +02:00
Florian Klink
d4e149c8ff
Merge pull request #120048 from flokli/inotify-max-user-instances
nixos/xserver: set fs.inotify.max_user_instances too
2021-05-03 17:45:41 +02:00
Sandro
69652a072d
Merge pull request #121597 from SuperSandro2000/ripgrep
ripgrep: cleanup
2021-05-03 17:34:05 +02:00
Sandro
2265b1e518
Merge pull request #121598 from badmutex/badi/update-vivaldi 2021-05-03 17:33:51 +02:00
Sandro
d19a57aa07
Merge pull request #121521 from fortuneteller2k/add-xcolor
xcolor: init at unstable-2021-02-02
2021-05-03 17:32:56 +02:00
Sandro
e3e99b4612
Merge pull request #121431 from dotlambda/ytfzf-1.1.5
ytfzf: 1.1.4 -> 1.1.5
2021-05-03 17:26:09 +02:00
Florian Klink
9071cb3001
Merge pull request #121416 from primeos/nixos-tests-replace-QEMU_OPTS
nixos/tests: Replace QEMU_OPTS usages with virtualisation.qemu.options
2021-05-03 17:23:49 +02:00
Sandro
5e62e3dc67
Merge pull request #121365 from ilya-fedin/update-kotatogram
kotatogram-desktop: 1.4 -> 1.4.1
2021-05-03 17:19:21 +02:00
Sandro
3f4267886d
Merge pull request #121284 from aanderse/openscenegraph
openscenegraph: update from ffmpeg_3 to ffmpeg
2021-05-03 17:18:40 +02:00
Sandro
f9d0594a44
Merge pull request #121285 from aanderse/musikcube 2021-05-03 17:18:11 +02:00
Sandro
264267ed4c
Merge pull request #121573 from samuelgrf/nodejs-add-meta.mainProgram
nodejs*: add meta.mainProgram
2021-05-03 17:16:22 +02:00
Eelco Dolstra
946cc38f70
Merge pull request #121263 from regnat/update-nix-unstable
nixUnstable: pre20210326_dd77f71 -> pre20210429_d15a196
2021-05-03 17:04:02 +02:00
Sandro
b514d01efd
Merge pull request #121564 from expipiplus1/joe-mautrix-signal
mautrix-signal: Fix incorrect escaping in wrapper
2021-05-03 17:01:53 +02:00
Luke Granger-Brown
a0da004326
Merge pull request #121376 from urbas/amazon-init-shell-script-support
nixos/amazon-init: add user-data shell script support
2021-05-03 16:01:26 +01:00
Sandro
9cf8d0d22f
ripgrep: cleanup 2021-05-03 16:59:17 +02:00
Pascal Bach
6fdfef7792
Merge pull request #121479 from LeSuisse/mujs-1.1.2
mujs: 1.1.1 -> 1.1.2
2021-05-03 16:58:28 +02:00
Sandro
163c74938c
Merge pull request #121272 from ymatsiuk/bumpzoom
zoom-us: 5.6.16775.0418 -> 5.6.16888.0424
2021-05-03 16:57:16 +02:00
Sandro
715ef52556
Merge pull request #121359 from r-ryantm/auto-update/handlr
handlr: 0.6.3 -> 0.6.4
2021-05-03 16:56:58 +02:00
Badi Abdul-Wahid
ba286702f5
vivaldi: add missing build/install phase hooks 2021-05-03 09:56:47 -05:00
Sandro
e53f471872
Merge pull request #121340 from r-ryantm/auto-update/agi
agi: 1.1.0-dev-20210423 -> 1.1.0-dev-20210430
2021-05-03 16:55:30 +02:00
Sandro
c94b0cdc51
Merge pull request #120966 from r-ryantm/auto-update/cifs-utils
cifs-utils: 6.12 -> 6.13
2021-05-03 16:55:17 +02:00
Sandro
4bc55737c2
Merge pull request #121452 from romildo/upd.mate-session-manager
mate.mate-session-manager: 1.24.2 -> 1.24.3
2021-05-03 16:54:14 +02:00
Sandro
db0e763191
Merge pull request #121454 from romildo/upd.obconf-qt
lxqt.obconf-qt: 0.16.0 -> 0.16.1
2021-05-03 16:53:57 +02:00
Sandro
7f898e5454
Merge pull request #121453 from romildo/upd.lxqt-powermanagement
lxqt.lxqt-powermanagement: 0.17.0 -> 0.17.1
2021-05-03 16:53:46 +02:00
Martin Weinelt
b208338c36
nixos/tests/pinnwand: use wait_for_open_port instead of direct sockstat call 2021-05-03 16:52:06 +02:00
Martin Weinelt
7b2bc43dba
nixos/tests/pinnwand: add negative-test for the reaper
The reaper, at this point, should not delete a freshly created paste.
2021-05-03 16:52:05 +02:00
Martin Weinelt
f1c32c2809
nixos/tests/pinnwand: show systemd-analyze security
Easy way to revisit the hardening setup of the systemd unit.
2021-05-03 16:52:05 +02:00
Martin Weinelt
fda2ff4edc
nixos/pinnwand: add reaper systemd unit/timer
The reap function culls expired pastes outside of the process serving
the pastes. Previously the database could accumulate a large number of
pastes and while they were expired they would not be deleted unless
accessed from the frontend.
2021-05-03 16:52:05 +02:00
Sandro
482991f346
Merge pull request #121582 from TredwellGit/electron 2021-05-03 16:51:31 +02:00
regnat
bdc95ab29e hydraUnstable: 2021-03-29 -> 2021-04-29
Required to work with the latest nixUnstable
2021-05-03 16:51:15 +02:00
regnat
2994db87fb nixUnstable: pre20210326_dd77f71 -> pre20210503_6d2553a
(amongst other things) several fixes to make the `ca-derivations`
experimental feature usable on a daily basis
2021-05-03 16:51:11 +02:00
Sandro
112684668a
Merge pull request #121590 from cyplo/update-rename
rename: 1.9 -> 1.11
2021-05-03 16:50:34 +02:00
Badi Abdul-Wahid
1119dbe764
vivaldi: 3.7.2218.45-1 -> 3.8.2259.37-1 2021-05-03 09:46:21 -05:00
Silvan Mosberger
680a901ae1
Merge pull request #120774 from sternenseemann/shellpackage-fix-check
lib/types: only accept derivations for shellPackage
2021-05-03 16:42:08 +02:00
Silvan Mosberger
3e930b7e4a
Merge pull request #121294 from nh2/issue-121288-wireguard-fix-chmod-race
wireguard module: generatePrivateKeyFile: Fix chmod security race
2021-05-03 16:24:42 +02:00
Luke Granger-Brown
1d76dfb811
Merge pull request #121501 from georgyo/citrixlibs
citrix_workspace: fix build / add mesa dependency
2021-05-03 15:09:38 +01:00
Martin Weinelt
001389c41f
Merge pull request #115869 from r-ryantm/auto-update/lego
lego: 4.2.0 -> 4.3.1
2021-05-03 15:59:57 +02:00
edef
4e4c45efac
Merge pull request #121375 from deviant/bump-rink
rink: 0.6.0 -> 0.6.1
2021-05-03 13:57:36 +00:00
Luke Granger-Brown
3aeeb5f4a3
Merge pull request #121592 from evils/bucklespring
bucklespring: unstable-2021-01-21 -> 1.5.0
2021-05-03 14:56:44 +01:00
Luke Granger-Brown
917c27439e
Merge pull request #121415 from lukegb/clevis
clevis: fix TPM2 encrypt/decrypt
2021-05-03 14:27:58 +01:00