Commit Graph

170 Commits (7456be85db41b32e0f3e2e7bd4371d4d4bd15816)

Author SHA1 Message Date
Robert Hensing 062bc5e74a lib.types.functionTo: Add pseudo-attr to generated docs 2 years ago
Robert Hensing 06da97fc3a lib.types.functionTo: Support type merging 2 years ago
Klemens Nanni 7bec3e60ef lib/types: Drop misleading plural from type descriptions #170561 2 years ago
Robert Hensing 224426ba6d lib.types.submoduleWith: Avoid _key collisions after extendModules 2 years ago
Silvan Mosberger 96698efe0c lib/modules: Finally remove deprecated types.optionSet 2 years ago
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 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 8baea8b82c lib.modules: Make option injection work when shorthandOnlyDefinesConfig 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 5cbeddfde4 lib.types: Introduce `types.optionType` 2 years ago
Silvan Mosberger fb023114ed lib/types: Fix functionTo description 2 years ago
Silvan Mosberger 665344f148 lib/types: Introduce types.raw for unprocessed values 2 years ago
Silvan Mosberger 382289027f lib/types: Fix emptyValue of listOf and nonEmptyListOf 2 years ago
Robert Hensing ba3e91ed43 lib.types: Add unique like uniq, but custom errors 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
Jules Aguillon f25a13212b types.singleLineStr: Disallow \r 2 years ago
Jules Aguillon df590070b0 types.singleLineStr: strings that don't contain '\n' 2 years ago
Robert Hensing dece37b83a lib.evalModules: Add extendModules and type to result 3 years ago
Silvan Mosberger 48293bd6b6 lib/types: Make types.anything merge functions 3 years ago
Artturin a3c5f0cba8 lib/types.nix: add nonEmptyStr 3 years ago
Robert Hensing 285632320d lib.types.enum: Improve description for lengths 0 and 1 3 years ago
Silvan Mosberger 68955fe612 lib/types: Introduce mkOptionType occurringTypes argument 3 years ago
sternenseemann 8a83d611f5 lib/types: only accept derivations for shellPackage 3 years ago
kvtb 1c0d31d042
types.nix: types.ints.s32 and types.ints.u32 do work 3 years ago
kvtb 3131cdf05b
types.nix: fix outdated comment 3 years ago
Fritz Otlinghaus e0215b3175
lib/types: add description for functionTo 3 years ago
Silvan Mosberger e9101d4a3b
lib/types: Improved functionTo merging 3 years ago
Bas van Dijk b454af298d
Revert "Remove types.functionTo." 3 years ago
Keshav Kini a456ccb0c8 lib/types.nix: fix missing inherit 4 years ago
Robert Hensing afa6c51f27 lib: Use Nix's static scope checking, fix error message, optimize 4 years ago
Robert Hensing 5aa2a98dfa lib/types.nix: Use // instead of mergeAttrs 4 years ago
Malte Brandy cebf9198f3
treewide: De-inline uses of lib.boolToString 4 years ago
Silvan Mosberger de71ca2ebc
lib/types: Fix type description of bool enum values 4 years ago
Silvan Mosberger 2ff7c3e2e1
lib/types: Remove unreachable if branch 4 years ago
Silvan Mosberger 67551f46fb
lib/types: Introduce types.anything 4 years ago
Silvan Mosberger a582f6adde
lib/types: Set deprecationMessage for types.optionSet 4 years ago
Silvan Mosberger 3b7aca47e0
lib/types: Set deprecationMessage for types.loaOf 4 years ago
Silvan Mosberger 2bed3b2ad7
lib/types: Set deprecationMessage for types.string 4 years ago
Silvan Mosberger 14095f8f48
lib/types: Remove types.list, it's been deprecated long enough 4 years ago
Silvan Mosberger 1d4656225d
lib/types: Allow types to emit a deprecation warning 4 years ago
Silvan Mosberger ea5ba6e13d
lib/types: Show sub options of freeform types 4 years ago
rnhmjoj 20d491a317
treewide: completely remove types.loaOf 4 years ago
Silvan Mosberger 2d45a62899
lib/types: Make submodules use the freeform type description 4 years ago
Drew Hess 370efefd8c
Replace short URL from #63103 with full URL. 4 years ago
arcnmx 92b464d57d lib/types: prioritise coercedType in coercedTo 4 years ago
worldofpeace 265da70e58 lib/types: dont warn loaOf for home-manager namespace 4 years ago