Commit Graph

69 Commits (c9078c523604f97795a95df979be33a17452fe87)

Author SHA1 Message Date
Silvan Mosberger 96698efe0c lib/modules: Finally remove deprecated types.optionSet 2 years ago
sternenseemann 47f837f5e8 haskell.compiler: ghc921 -> ghc922 2 years ago
Janne Heß 0c766a100e lib/options: Throw error for options without a type 2 years ago
Robert Hensing 8691ab3d47 lib.modules: Define mergeOneOption in terms of mergeUniqueOption 2 years ago
Robert Hensing ba3e91ed43 lib.types: Add unique like uniq, but custom errors 2 years ago
Anselm Schüler c008b3d100 nixos/docs/option-declarations: Document mkEnableOption and mkPackageOption 2 years ago
Anselm Schüler fdf7ede344 lib/options: Add mkPackageOption 2 years ago
pennae fc614c37c6 nixos/documentation: split options doc build 3 years ago
Robert Hensing 64dfd983df modules: Add visible = "shallow" to hide only sub-options 3 years ago
Naïm Favier 52a2e4136e
lib/options: add literalExpression and literalDocBook, deprecate literalExample 3 years ago
Maximilian Bosch 5773ae93f7
lib/generators: move limit detection into `withRecursion` 3 years ago
Maximilian Bosch fbc9084c39
lib/options: use `depthLimit` for `toPretty` when showing a definition 3 years ago
Silvan Mosberger 998a9c1707 lib/options: Better mergeEqualOption error for uncomparable types 3 years ago
Silvan Mosberger 9e6737710c Revert "Module-builtin assertions, disabling assertions and submodule assertions" 4 years ago
Silvan Mosberger 0b61ed7af9
lib/options: Don't show internal suboption in the manual 4 years ago
Robert Hensing c9f8f66248 lib/options.nix: Use merge-friendly inherit syntax 4 years ago
Robert Hensing afa6c51f27 lib: Use Nix's static scope checking, fix error message, optimize 4 years ago
Robert Hensing 4d4682c2b6 lib/options.nix: Use head instead of elemAt _ 0 4 years ago
Silvan Mosberger bdfcee2590
lib/modules: Improve error messages using showDefs 4 years ago
Silvan Mosberger 7c20e68f6b
lib/options: Introduce showDefs 4 years ago
Silvan Mosberger 6e7bc2c6c9
lib/options: Fix mergeEqualOption for singular functions 4 years ago
Daiderd Jordan 964700da44
lib/options: fix showOption example 4 years ago
Daiderd Jordan 31a03daa72
Revert "lib/options: Use escapeNixIdentifier for showOption" 4 years ago
Jan Tojnar c652b64a26
lib/options: Relax showOption quoting 4 years ago
Silvan Mosberger 124cccbe3b
lib/options: Use escapeNixIdentifier for showOption 4 years ago
Silvan Mosberger f195625227
lib/options: Only recurse into visible sub options 4 years ago
Jan Tojnar 907529ff06
lib/options: fix path in comment 5 years ago
danbst bfb6ef1d59 module system: prettify a bit error when unique option defined twice 5 years ago
Danylo Hlynskyi 60e8fcf0e5
module system: revert "remove types.optionSet", just deprecate (#56857) 5 years ago
Jan Malakhovski a53b3ba091 lib: optionAttrSetToDocList: warn instead of throwing on options without descriptions 5 years ago
danbst 27982b408e types.optionSet: deprecate and remove last usages 5 years ago
Vincent Ambo 2384966880 lib/options: Update documentation comments for docs generation 6 years ago
Tobias Pflug d5166027e2 docs: lib/options.nix function documentation 6 years ago
Graham Christensen 059a71a611
lib/options: teach showOptions about funny option names 6 years ago
Jan Malakhovski a3a8c1f54d lib: export option location in `optionAttrSetToDocList` 6 years ago
Jan Malakhovski 660806066a nixos, lib: implement relatedPackages option 6 years ago
Graham Christensen b5a61f2c59
Revert "nixos: doc: implement related packages in the manual" 7 years ago
Jan Malakhovski 67ec6371d5 nixos, lib: implement relatedPackages option 7 years ago
Graham Christensen 152c63c9ff
Convert libs to a fixed-point 7 years ago
Eric Sagnes e14de56613 module system: extensible option types 8 years ago
Eelco Dolstra f3d94cfc23 Revert "Add the tool "nixos-typecheck" that can check an option declaration to:" 8 years ago
Thomas Strobel cad8957eab Add the tool "nixos-typecheck" that can check an option declaration to: 8 years ago
Eelco Dolstra f463d24903 Add read-only options 9 years ago
Eelco Dolstra 0ae8b365b3 Rename misc.nix -> deprecated.nix 9 years ago
Eelco Dolstra 637e35deb9 Use foldl' instead of fold in some places 9 years ago
Eelco Dolstra f14dab05d6 optionAttrSetToDocList: O(n^2) -> O(n) 9 years ago
Eelco Dolstra e212e07cf6 Make types.bool complain on conflicting definitions 9 years ago
Eelco Dolstra a4925bcfa8 Remove obsolete stuff 9 years ago
Domen Kožar 79a51b0cf3 Add Type information into manual and manpages, fixes #4600 10 years ago
Nicolas B. Pierron 2f365923d6 modules: Add mkSinkUndeclaredOptions. 10 years ago