about summary refs log tree commit diff
path: root/lib/options.nix
AgeCommit message (Expand)AuthorFilesLines
2022-03-18lib/modules: Finally remove deprecated types.optionSetSilvan Mosberger1-2/+0
2022-02-28lib/options: Throw error for options without a typeJanne Heß1-1/+1
2022-01-25Merge pull request #156503 from hercules-ci/nixos-add-system.build-optionsRobert Hensing1-5/+7
2022-01-24lib.modules: Define mergeOneOption in terms of mergeUniqueOptionRobert Hensing1-5/+1
2022-01-24lib.types: Add unique like uniq, but custom errorsRobert Hensing1-0/+6
2022-01-23nixos/docs/option-declarations: Document mkEnableOption and mkPackageOptionAnselm Schüler1-15/+40
2022-01-23lib/options: Add mkPackageOptionAnselm Schüler1-0/+19
2022-01-02nixos/documentation: split options doc buildpennae1-1/+1
2021-11-01modules: Add visible = "shallow" to hide only sub-optionsRobert Hensing1-3/+7
2021-10-03lib/options: add literalExpression and literalDocBook, deprecate literalExampleNaïm Favier1-5/+19
2021-08-26lib/generators: move limit detection into `withRecursion`Maximilian Bosch1-1/+3
2021-08-25lib/options: use `depthLimit` for `toPretty` when showing a definitionMaximilian Bosch1-1/+1
2021-08-10lib/options: Better mergeEqualOption error for uncomparable typesSilvan Mosberger1-1/+2
2020-12-18Revert "Module-builtin assertions, disabling assertions and submodule asserti...Silvan Mosberger1-1/+1
2020-11-30lib/options: Don't show internal suboption in the manualSilvan Mosberger1-1/+1
2020-10-22lib/options.nix: Use merge-friendly inherit syntaxRobert Hensing1-5/+30
2020-10-22lib: Use Nix's static scope checking, fix error message, optimizeRobert Hensing1-5/+9
2020-10-22lib/options.nix: Use head instead of elemAt _ 0Robert Hensing1-1/+1
2020-09-21lib/modules: Improve error messages using showDefsSilvan Mosberger1-6/+6
2020-09-21lib/options: Introduce showDefsSilvan Mosberger1-0/+18
2020-09-15lib/options: Fix mergeEqualOption for singular functionsSilvan Mosberger1-0/+4
2020-04-14lib/options: fix showOption exampleDaiderd Jordan1-1/+1
2020-04-14Revert "lib/options: Use escapeNixIdentifier for showOption"Daiderd Jordan1-7/+8
2020-04-14lib/options: Relax showOption quotingJan Tojnar1-1/+14
2020-04-13lib/options: Use escapeNixIdentifier for showOptionSilvan Mosberger1-8/+1
2020-03-19lib/options: Only recurse into visible sub optionsSilvan Mosberger1-1/+1
2019-08-26lib/options: fix path in commentJan Tojnar1-1/+1
2019-06-05module system: prettify a bit error when unique option defined twicedanbst1-1/+1
2019-03-07module system: revert "remove types.optionSet", just deprecate (#56857)Danylo Hlynskyi1-0/+2
2019-03-05lib: optionAttrSetToDocList: warn instead of throwing on options without desc...Jan Malakhovski1-1/+1
2019-01-31types.optionSet: deprecate and remove last usagesdanbst1-2/+0
2018-10-29lib/options: Update documentation comments for docs generationVincent Ambo1-67/+88
2018-10-02docs: lib/options.nix function documentationTobias Pflug1-0/+39
2018-03-05lib/options: teach showOptions about funny option namesGraham Christensen1-1/+14
2018-02-11lib: export option location in `optionAttrSetToDocList`Jan Malakhovski1-0/+1
2018-02-09nixos, lib: implement relatedPackages optionJan Malakhovski1-4/+5
2017-12-23Revert "nixos: doc: implement related packages in the manual"Graham Christensen1-5/+4
2017-12-07nixos, lib: implement relatedPackages optionJan Malakhovski1-4/+5
2017-09-16Convert libs to a fixed-pointGraham Christensen1-6/+5
2016-11-06module system: extensible option typesEric Sagnes1-1/+1
2015-07-30Add read-only optionsEelco Dolstra1-0/+2
2015-07-23Rename misc.nix -> deprecated.nixEelco Dolstra1-1/+0
2015-07-23Use foldl' instead of fold in some placesEelco Dolstra1-3/+3
2015-07-23optionAttrSetToDocList: O(n^2) -> O(n)Eelco Dolstra1-3/+2
2015-06-15Make types.bool complain on conflicting definitionsEelco Dolstra1-0/+9
2015-06-15Remove obsolete stuffEelco Dolstra1-14/+0
2015-01-04Add Type information into manual and manpages, fixes #4600Domen Kožar1-0/+1
2014-12-21modules: Add mkSinkUndeclaredOptions.Nicolas B. Pierron1-0/+17
2014-10-05Eliminate some optionals/optionalAttrs calls on the hot pathEelco Dolstra1-3/+3
2013-11-12Add some primops to libEelco Dolstra1-5/+5