Commit Graph

125 Commits (366a677dbbae7983df69c7ff8076d3e0bfb1d350)

Author SHA1 Message Date
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. 5 years ago
arcnmx 92b464d57d lib/types: prioritise coercedType in coercedTo 5 years ago
worldofpeace 265da70e58 lib/types: dont warn loaOf for home-manager namespace 5 years ago
Jan Tojnar 13633bd21a
lib/types: improve loaOf message even more 5 years ago
Jan Tojnar 6fc46fbb17
lib/types: only show ... in loaOf warning when necessary 5 years ago
Jan Tojnar b0c2c96cbe
lib/types: improve loaOf warning 5 years ago
Silvan Mosberger b48717d1eb
lib/types: Introduce lazyAttrsOf 5 years ago
Silvan Mosberger 4268b4f9cf
lib/types: Add emptyValue attribute to types 5 years ago
Silvan Mosberger 6525da6321
lib/types: Allow paths as submodule values 5 years ago
Silvan Mosberger d7a109b59f
lib/types: Fix path type check 5 years ago
rnhmjoj 03309899eb lib/types: warn loaOf is deprecated 5 years ago
Silvan Mosberger c7ade6844f
Revert "lib/types: Allow paths as submodule values" 5 years ago
Silvan Mosberger eec83d41e3
lib/types: Allow paths as submodule values 5 years ago
Silvan Mosberger 5002e6afbc
lib/types: Add types.submoduleWith for more flexibility than types.submodule 5 years ago
Silvan Mosberger 03391cd336
lib/types: Make usage of types.string emit a warning 5 years ago
volth 08f68313a4 treewide: remove redundant rec 5 years ago
volth 35d68ef143 treewide: remove redundant quotes 5 years ago
Silvan Mosberger 9a44f44d4c
lib/types: Add oneOf, extension of either to a list of types 5 years ago
danbst 795383204e lib/types: change merge strategy for `str`, `int`, `float` and `enum` 5 years ago
Danylo Hlynskyi 60e8fcf0e5
module system: revert "remove types.optionSet", just deprecate (#56857) 5 years ago
danbst 27982b408e types.optionSet: deprecate and remove last usages 5 years ago
danbst f32987d451 lib/types.nix: small eval optimization (listToAttrs + mapAttrsToList -> mapAttrs) 5 years ago
Daniel Rutz 161c0765ad Add type port as an alias to u16 6 years ago
Samuel Dionne-Riel 0808c7cd31 lib/types: enhances separatedString's description 6 years ago
Profpatsch efdf618330 lib: move assertMsg and assertOneOf to their own library file 6 years ago
Profpatsch 3e45b61a99 lib/trivial: add a few examples of usage of assertMsg/assertOneOf 6 years ago
volth 6d2857a311 [bot] treewide: remove unused 'inherit' in let blocks 6 years ago
volth 87f5930c3f [bot]: remove unreferenced code 6 years ago
Richard Marko 4a310a0404 lib: add float option type 6 years ago
Samuel Dionne-Riel 136f1c4706 doc: Fixes documented default option for `<name>` for submodules. (#40464) 6 years ago
Robert Helgesson 08e8701673
lib.types: fix loaOf behavior for long lists 6 years ago
Silvan Mosberger facd51575e lib/types: remove unnecessary coerceFunc assertion 6 years ago
Silvan Mosberger cd5736116c lib/types: clear up coercedTo description 6 years ago
Silvan Mosberger ef8996f15e lib/types: Fix coercedTo check 6 years ago
Robert Schütz c65e36c9ca lib/types: add types.nonEmptyListOf 6 years ago
Ryan Trinkle 83048c4fe0 nixpkgs.lib: Add types.strMatching 7 years ago
Tuomas Tynkkynen 8c190c3f7d lib/types.nix: Disable 32-bit integer types for now 7 years ago
Profpatsch 213bd2847b lib/types: fix up documentation formatting a bit 7 years ago
Profpatsch 462c048c77 lib/types: add `ints.positive`. 7 years ago
Profpatsch 1158910676 lib/types: match lowercase descriptions of other types 7 years ago
Profpatsch 77648da233 lib/types: signed -> s, unsigned -> u, remove signed alias 7 years ago