Commit Graph

170 Commits (7456be85db41b32e0f3e2e7bd4371d4d4bd15816)

Author SHA1 Message Date
Jan Tojnar 13633bd21a
lib/types: improve loaOf message even more 4 years ago
Jan Tojnar 6fc46fbb17
lib/types: only show ... in loaOf warning when necessary 4 years ago
Jan Tojnar b0c2c96cbe
lib/types: improve loaOf warning 4 years ago
Silvan Mosberger b48717d1eb
lib/types: Introduce lazyAttrsOf 4 years ago
Silvan Mosberger 4268b4f9cf
lib/types: Add emptyValue attribute to types 4 years ago
Silvan Mosberger 6525da6321
lib/types: Allow paths as submodule values 4 years ago
Silvan Mosberger d7a109b59f
lib/types: Fix path type check 4 years ago
rnhmjoj 03309899eb lib/types: warn loaOf is deprecated 4 years ago
Silvan Mosberger c7ade6844f
Revert "lib/types: Allow paths as submodule values" 4 years ago
Silvan Mosberger eec83d41e3
lib/types: Allow paths as submodule values 4 years ago
Silvan Mosberger 5002e6afbc
lib/types: Add types.submoduleWith for more flexibility than types.submodule 4 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
Profpatsch 7fcd3892a9 lib/types: remove port type again 7 years ago
Profpatsch c776489cac lib/types: add port type 7 years ago
Profpatsch 281d071b6a lib/types: add various signed/unsigned int types 7 years ago
Profpatsch c53d874277 lib/types: add intBetween 7 years ago
Nicolas B. Pierron 1d56d0c8a7 types.submodule: Fix the NixOS Manual, by escaping the <> symbols. 7 years ago
Nicolas B. Pierron d8987135c2 types.submodule: Replace a friendly comment by a more gentle one. 7 years ago
tv bc03222bde types: remove loeOf 7 years ago
Graham Christensen 152c63c9ff
Convert libs to a fixed-point 7 years ago
zimbatm 4d545297d8 lib: introduce imap0, imap1 (#25543) 7 years ago
Nikolay Amiantov 63e0d50f16 types: add short docstrings 7 years ago
Nikolay Amiantov ee4f8c2dc9 nixos doc: document coercedTo type 7 years ago
Tom Saeger 5989515b94 lib: trivial spelling fixes 7 years ago