Silvan Mosberger
767d80099c
lib/modules: Introduce _module.checks.*.check
...
Previously the .enable option was used to encode the condition as well,
which lead to some oddness:
- In order to encode an assertion, one had to invert it
- To disable a check, one had to mkForce it
By introducing a separate .check option this is solved because:
- It can be used to encode assertions
- Disabling is done separately with .enable option, whose default can be
overridden without a mkForce
2020-12-17 21:52:24 +01:00
Silvan Mosberger
991dfccbd1
lib/modules: _module.check should always be internal
...
Honestly this option should probably just be removed
2020-11-30 23:51:42 +01:00
Silvan Mosberger
8dea4df903
lib/modules: Remove _module.checks.*.triggerPath as it's not necessary
...
Previously this option was thought to be necessary to avoid infinite
recursion, but it actually isn't, since the check evaluation isn't fed
back into the module fixed-point.
2020-11-30 23:51:42 +01:00
Silvan Mosberger
c9cc8969b4
lib/modules: Rename _module.assertions to _module.checks
2020-11-30 23:51:41 +01:00
Silvan Mosberger
3e39d6efdf
lib/tests: Add tests for module-builtin assertions
2020-11-30 23:51:23 +01:00
Silvan Mosberger
900c4a5abd
lib/tests: Implement generalized checkConfigCodeOutErr for module tests
2020-11-30 23:51:23 +01:00
Silvan Mosberger
c4fb54e92a
nixos/docs: Update assertion docs for new module-builtin ones
2020-11-30 23:51:23 +01:00
Silvan Mosberger
3759a77fcd
nixos/modules: Expose the internal module in the top-level documentation
2020-11-30 23:51:23 +01:00
Silvan Mosberger
1e6a84b7af
nixos/modules: Allow options to be coerced to a string for convenience
2020-11-30 23:51:23 +01:00
Silvan Mosberger
20131348db
lib/modules: Use module-builtin assertions for mkRemovedOptionModule and co.
2020-11-30 23:51:23 +01:00
Silvan Mosberger
9523df7eb6
nixos/assertions: Use module-builtin assertion implementation
2020-11-30 23:51:22 +01:00
Silvan Mosberger
df5ba82f74
lib/modules: Implement module-builtin assertions
...
This implements assertions/warnings supported by the module system directly,
instead of just being a NixOS option (see
nixos/modules/misc/assertions.nix).
This has the following benefits:
- It allows cleanly redoing the user interface. The new
implementation specifically allows disabling assertions or
converting them to warnings instead.
- Assertions/warnings can now be thrown easily from within
submodules, which previously wasn't possible and needed workarounds.
2020-11-30 23:51:19 +01:00
Silvan Mosberger
0b61ed7af9
lib/options: Don't show internal suboption in the manual
...
Initially https://github.com/NixOS/nixpkgs/pull/82897 prevented
non-visible options from being rendered in the manual, but
visible-but-internal options were still being recursed into. This fixes
this, aligning the recurse condition here with the one in
make-options-doc/default.nix
2020-11-30 22:51:34 +01:00
Sandro
51e63b550d
Merge pull request #105480 from jansol/renderdoc
...
renderdoc: 1.10 -> 1.11
2020-11-30 22:48:37 +01:00
Anderson Torres
7714edc2e5
Merge pull request #105489 from AndersonTorres/update-rst2html5
...
rst2html5: 1.9.4 -> 1.10.6
2020-11-30 18:42:08 -03:00
markuskowa
39f768379c
Merge pull request #105482 from r-ryantm/auto-update/fend
...
fend: 0.1.10 -> 0.1.11
2020-11-30 22:36:21 +01:00
Sirio Balmelli
1692d674fe
python3Packages.pyserial: 3.4 -> 3.5
...
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2020-11-30 13:34:26 -08:00
Milan Pässler
e2aeff77f5
unifiBeta: 6.0.28 -> 6.0.36
2020-11-30 22:28:14 +01:00
AndersonTorres
90aacae8a5
rst2html5: 1.9.4 -> 1.10.6
2020-11-30 17:58:53 -03:00
Sandro
f2ea4d951f
Merge pull request #105484 from r-ryantm/auto-update/fondo
...
fondo: 1.3.10 -> 1.4.0
2020-11-30 21:37:22 +01:00
R. RyanTM
878462b296
fondo: 1.3.10 -> 1.4.0
2020-11-30 20:13:11 +00:00
Silvan Mosberger
5420a92926
Merge pull request #104809 from virusdave/dnicponski/scratch/update_ucm
...
unison-ucm 1.0.M1l-alpha -> 1.0.M1m-alpha
2020-11-30 21:05:15 +01:00
Silvan Mosberger
e08182020c
Merge pull request #99115 from Infinisil/toString-module-files
...
lib/modules: Make sure to not import module _file's into the store
2020-11-30 21:00:59 +01:00
Anderson Torres
881dee5284
Merge pull request #105411 from AndersonTorres/wip-ucg
...
ucg: init at 20190225
2020-11-30 16:55:03 -03:00
Anderson Torres
208d049eab
Merge pull request #105189 from AndersonTorres/wip-qmplay
...
QMPlay2: init at 20.07.04
2020-11-30 16:54:21 -03:00
Sandro
9634966371
Merge pull request #105446 from r-ryantm/auto-update/python3.7-colander
2020-11-30 20:51:33 +01:00
Ben Siraphob
618b7320a6
twtxt: init at 0.1.0 ( #105378 )
2020-11-30 11:50:56 -08:00
R. RyanTM
ba591a71f0
fend: 0.1.10 -> 0.1.11
2020-11-30 19:44:33 +00:00
Greg Roodt
a25e06045c
python: pip-tools: 5.3.1 -> 5.4.0 ( #105451 )
2020-11-30 20:41:17 +01:00
Ryan Mulligan
01e1d5cc9f
Merge pull request #105300 from AndersonTorres/wip-docs
...
Convert Emacs documentation from XML DocBook to Commonmark
2020-11-30 11:35:51 -08:00
Luke Granger-Brown
f838208033
factorio-experimental, factorio-headless-experimental: 1.1.2 -> 1.1.3
2020-11-30 20:27:23 +01:00
Sandro
2499f7f37a
Merge pull request #105464 from r-ryantm/auto-update/codeql
...
codeql: 2.3.3 -> 2.4.0
2020-11-30 20:22:59 +01:00
Sandro
9a01a5747e
Merge pull request #105468 from r-ryantm/auto-update/consul
...
consul: 1.8.6 -> 1.9.0
2020-11-30 20:22:21 +01:00
AndersonTorres
4bcdf302e1
ucg: init at 20190225
2020-11-30 16:21:41 -03:00
AndersonTorres
19973c1893
Convert Emacs documentation from XML DocBook to CommonMark
2020-11-30 16:16:46 -03:00
Jan Solanti
23c0971e66
renderdoc: 1.10 -> 1.11
2020-11-30 21:14:49 +02:00
Sandro
1cd16d50b4
Merge pull request #105460 from r-ryantm/auto-update/checkstyle
...
checkstyle: 8.37 -> 8.38
2020-11-30 20:03:32 +01:00
Sandro
cdd2fbcf2c
Merge pull request #105470 from zimbatm/awscli-completion
...
awscli2: fix bash completion name
2020-11-30 19:58:47 +01:00
Graham Christensen
f18e57f3bf
Merge pull request #105452 from zimbatm/no-extend
...
tree-wide: do not use pkgs.extend in nixpkgs
2020-11-30 13:55:33 -05:00
Sandro
c54f7527c0
Merge pull request #105296 from lukegb/factorio-update-script
2020-11-30 19:50:31 +01:00
Silvan Mosberger
c1b1af0ded
Merge pull request #103815 from siraben/archivy-init
...
archivy: init at 0.8.5
2020-11-30 19:18:46 +01:00
Luke Granger-Brown
8a63eaab52
factorio: add lukegb as maintainer
2020-11-30 18:07:19 +00:00
Luke Granger-Brown
2c8f7755d4
factorio: add an updateScript
...
The updateScript knows how to automatically fetch and update the version
data from the Factorio versions API (and update the hashes
appropriately), which makes it easier to update whenever experimental
does.
2020-11-30 18:07:16 +00:00
Silvan Mosberger
6df56e1cb8
Merge pull request #103866 from cole-h/doas
...
doas: 6.6.1 -> 6.8
2020-11-30 19:02:55 +01:00
zimbatm
74f08a53a1
awscli2: fix bash completion name
...
The bash completion name should map the binary name, so that it can be
loaded by the bash-completion package automatically.
2020-11-30 18:40:14 +01:00
Frederik Rietdijk
9a63b3d3d6
Merge pull request #104781 from NixOS/staging-next
...
Staging next
2020-11-30 18:27:29 +01:00
Sandro
d554addf6c
Merge pull request #105447 from r-ryantm/auto-update/python3.7-nipype
...
python37Packages.nipype: 1.5.1 -> 1.6.0
2020-11-30 18:03:08 +01:00
R. RyanTM
fc12e58629
consul: 1.8.6 -> 1.9.0
2020-11-30 17:01:50 +00:00
Sandro Jäckel
723c810ac3
pythonPackages.ColanderAlchemy: 0.3.3 -> 0.3.4
2020-11-30 17:52:56 +01:00
Sandro
ae1429d752
Merge pull request #105427 from r-ryantm/auto-update/python3.7-blessed
...
python37Packages.blessed: 1.17.11 -> 1.17.12
2020-11-30 17:37:29 +01:00