Commit Graph

2859 Commits (0a6a3c0b3375e4d3cdd58c20bc8650b361f81116)

Author SHA1 Message Date
Naïm Favier 9c2266c031
lib.types.package: only call toDerivation when necessary 2 years ago
Robert Hensing 55ee7ab4a6 lib.types.optionType: Only merge when necessary 2 years ago
Robert Hensing 3ddac7a41a lib.isDerivation: Simplify 2 years ago
Levi Wright 752a8c516d
lib/systems: Fix uclibc float-abi being flipped 2 years ago
Robert Hensing c4b38702e5 lib/modules.nix: Add comment about internal shorthand null value 2 years ago
Robert Hensing c90844aeb9 lib/tests/modules: Add test case for duplicate option error file location 2 years ago
Robert Hensing e162ed8a14 lib/modules.nix: Move comment to the actual legacy code 2 years ago
Robert Hensing 02de37ca07 lib/modules.nix: Optimize optionSet legacy compat code 2 years ago
Robert Hensing db08290453 Revert "lib.modules: Remove redundant fixupOptionType in option injection" 2 years ago
Robert Hensing 2050669922 lib.modules: Inline a private function 2 years ago
Robert Hensing 28aeae2126 lib.modules: Default shorthandOnlyDefinesConfig to true when null 2 years ago
Robert Hensing 6b077c47ff lib.modules: Remove redundant fixupOptionType in option injection 2 years ago
Robert Hensing 8baea8b82c lib.modules: Make option injection work when shorthandOnlyDefinesConfig 2 years ago
Robert Hensing 11537c9c02 lib.modules: Improve option-is-prefix error message 2 years ago
Robert Hensing 81f342d1f3 lib.modules: Explain why options can only be merged into submodules 2 years ago
Robert Hensing 0c09eb343d lib.modules: Refactor option scanning slightly 2 years ago
Robert Hensing 58a8a48e9d lib.types.submodule: Remove redundant isSubmodule attr 2 years ago
Robert Hensing d030e2109f lib.modules: Let module declare options directly in bare submodule 2 years ago
Silvan Mosberger 023fa7b923 lib.modules: Use types.optionType for _module.freeformType 2 years ago
Silvan Mosberger 5cbeddfde4 lib.types: Introduce `types.optionType` 2 years ago
Silvan Mosberger fb023114ed lib/types: Fix functionTo description 2 years ago
Janne Heß 0c766a100e lib/options: Throw error for options without a type 2 years ago
Silvan Mosberger ff13cd5d3e lib/modules: Use types.raw for _module.args 2 years ago
Silvan Mosberger 665344f148 lib/types: Introduce types.raw for unprocessed values 2 years ago
Silvan Mosberger b333395be5 lib/tests: Add tests for emptyValue 2 years ago
Silvan Mosberger 382289027f lib/types: Fix emptyValue of listOf and nonEmptyListOf 2 years ago
John Rinehart 5688e7ff35 fix: typo in lib/attrsets.nix 2 years ago
Jan Tojnar 1e1396aafc lib.sources: Improve docs 2 years ago
Jan Tojnar 2f012d93ed lib.trivial: Change comment type before concat function 2 years ago
pennae 1c0918d828 lib: add mkPackageOption to default.nix 2 years ago
06kellyjac e98d8f7207 feh: correct license 2 years ago
Naïm Favier 5a07097772
lib/modules: introduce setDefaultModuleLocation 2 years ago
Thiago Kenji Okada f0e9f54d6e lib/meta: fix typo in platformMatch comment 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
c0bw3b f4d82e40e8 lib.licenses: add MIT-advertising 2 years ago
Anselm Schüler fdf7ede344 lib/options: Add mkPackageOption 2 years ago
Atemu 52bec72f73 licenses: add Alliance for Open Media Patent License 1.0 2 years ago
c0bw3b 3ec5a9f36b lib.licenses: add Imlib2 2 years ago
Jules Aguillon 1394bfc32a types.singleLineStr: Improve description 2 years ago
Jules Aguillon 4baf8548fb types.singleLineStr: Allow and trim trailing \n 2 years ago
sternenseemann 48965506a1 lib/asserts: use throw to display message for assertMsg 2 years ago
Jules Aguillon f25a13212b types.singleLineStr: Disallow \r 2 years ago
Jules Aguillon df590070b0 types.singleLineStr: strings that don't contain '\n' 2 years ago
José Romildo 4fc67da841 lib.checkListOfEnum: init 2 years ago
pennae fc614c37c6 nixos/documentation: split options doc build 2 years ago
pennae 0de4ecff8c lib/modules: extract multiply-used value in byName 3 years ago
polykernel 63ce7d3184 lib/attrset: miscellaneous optimizations 3 years ago
polykernel a54f2231c9 lib/attrset: optimize element access in recursiveUpdateUntil 3 years ago