summary refs log tree commit diff
path: root/lib/options.nix
AgeCommit message (Expand)AuthorFilesLines
2023-05-06lib/options: fix rendering of options with only a defaultTextNaïm Favier1-3/+3
2023-03-05lib/options: fix mkPackageOption docspennae1-7/+5
2023-02-26lib/options: Add more options to mkPackageOptionAnselm Schüler1-15/+48
2023-02-18lib/options: update showOption commentNaïm Favier1-6/+4
2023-02-09types: suggest how to resolve the conflictDomen Kožar1-2/+5
2023-02-09types: explicitly state unique options are expected to be uniqueDomen Kožar1-1/+1
2023-01-30lib: standardise attrset type syntaxColin Arnott1-3/+3
2023-01-05modules: add mkPackageOptionMDpennae1-1/+6
2022-12-24attrsets: fix and add some doc typeshsjobeki1-2/+2
2022-12-10lib.modules: Add error context to rendered default and example attrsRobert Hensing1-3/+14
2022-12-08nixos/doc: render option values using `lib.generators.toPretty`Naïm Favier1-4/+17
2022-11-07haskell.compiler.ghc92: 9.2.4 -> 9.2.5sternenseemann1-1/+1
2022-10-07lib/options/showOption: fix quoting of attr-names that are not identifiersMaximilian Bosch1-3/+9
2022-09-26lib/options.nix: remove unused bindingfigsoda1-1/+0
2022-09-10lib/options: deprecate docbook text and literalDocBookpennae1-1/+4
2022-08-31lib/modules: convert option description to MDpennae1-1/+1
2022-08-30lib/options: add mdDoc support to mkEnableOptionpennae1-1/+4
2022-07-28haskell.compiler: ghc923 -> ghc924sternenseemann1-1/+1
2022-06-27lib/options: Add hint for debugging infinite recursion in docsRobert Hensing1-0/+2
2022-06-21lib/options: Add showOptionWithDefLocsRobert Hensing1-0/+6
2022-06-12treewide: attempt at markdown option docspennae1-0/+15
2022-05-28haskell.compiler: ghc922 -> ghc923sternenseemann1-1/+1
2022-03-26Merge remote-tracking branch 'origin/master' into haskell-updatessternenseemann1-2/+0
2022-03-18lib/modules: Finally remove deprecated types.optionSetSilvan Mosberger1-2/+0
2022-03-17Merge master into haskell-updatesgithub-actions[bot]1-1/+1
2022-03-09haskell.compiler: ghc921 -> ghc922sternenseemann1-1/+1
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