Commit Graph

54 Commits (212efab7ace3b6a42f7955bf48286c78e218bfa0)

Author SHA1 Message Date
Benjamin Staffin d9123a2329 lib: fix mixed tab/space indents, trailing whitespace, etc 6 years ago
Nikolay Amiantov 5cbcd3af69 types library: add coercedTo 6 years ago
Eric Sagnes cf2654b2e0 either type: improve merge function 6 years ago
Eric Sagnes e14de56613 module system: extensible option types 6 years ago
Eric Sagnes f923905346 optionSet type: enable deprecation message 6 years ago
zimbatm 2974b6f4c8 Use shell packages to select the user's shell 6 years ago
Eelco Dolstra b056948c00 Improve types.listOf error message 6 years ago
aszlig 009fd5ef77
lib/types: Revert handling submodules for "either" 7 years ago
aszlig 0f0805b51a
lib/types: Handle submodules for type "either" 7 years ago
Eelco Dolstra f3d94cfc23 Revert "Add the tool "nixos-typecheck" that can check an option declaration to:" 7 years ago
Thomas Strobel cad8957eab Add the tool "nixos-typecheck" that can check an option declaration to: 7 years ago
aszlig 98faa0c8f3
lib/types: Set name of types.package to "package" 7 years ago
Igor Pashev b078ae9c16 Use x == null instead of builtins.isNull x 7 years ago
Igor Pashev 363e6978ce Allow enum of integers (and any other type) 7 years ago
Jan Malakhovski 33ae3f2fe4 nixos,lib: move environment generation related copy-paste to lib 7 years ago
Benno Fünfstück 7cd6b3cf76 Revert change of path type 7 years ago
Benno Fünfstück 691f683c8c types.nix: better error message for non-paths 7 years ago
Eelco Dolstra 214d4fb73c Allow options with type "package" to be store paths 7 years ago
Eelco Dolstra 637e35deb9 Use foldl' instead of fold in some places 7 years ago
Eelco Dolstra e212e07cf6 Make types.bool complain on conflicting definitions 7 years ago
Luca Bruno cb45b7ec3e Revert "nixos: Multiple service instances, apply to nginx. See #6784" 8 years ago
Luca Bruno 7ef59c4fe2 nixos: Multiple service instances, apply to nginx. See #6784 8 years ago
Nicolas B. Pierron 05e8a48fb4 Document and rename internal option of modules. 8 years ago
Nicolas B. Pierron ed91474e9b Share common code for merging option definitions. 8 years ago
Shea Levy 0a0a29fd0b Add comments about the module system interface 8 years ago
Shea Levy 4f5c6330c9 types.loaOf: Update check function 8 years ago
Shea Levy 8737d1783f types.attrsOf: Use mergeDefinitions to handle each element 8 years ago
Shea Levy e4bc2592f3 types.listOf: Use mergeDefinitions to handle each element 8 years ago
Nicolas Pierron 4ff1ab5a56 Remove types.functionTo. 8 years ago
Nicolas Pierron b5f0cc3cda Merge options having the submodule type. 8 years ago
Eelco Dolstra f932910323 types.nix: Add ‘either’ type 8 years ago
Shea Levy da4adc2a4f Fix description to match convention 9 years ago
Shea Levy ab2cd34076 Add enum option type 9 years ago
Eelco Dolstra ebe57b1ac8 Remove lib.typeOf 9 years ago
Shea Levy 83c98e4dd6 loaOf: Allow merging definitions from a list into other definitions IFF there is a name attribute 9 years ago
Shea Levy c8f1a6ac1e Revert "Add nixosSubmodule option type" 9 years ago
Shea Levy 4fd825cc94 Revert "Add option type for a submodule with extra arguments" 9 years ago
Shea Levy 220654e205 Revert "Add heterogeneousAttrsOf option type" 9 years ago
Shea Levy 3f70dabad3 Add heterogeneousAttrsOf option type 9 years ago
Shea Levy 8764758044 Add option type for a submodule with extra arguments 9 years ago
Shea Levy ca1c5cfa8f Add nixosSubmodule option type 9 years ago
Shea Levy 84a7a09bc8 Try to improve naming of list elements in loaOf types 9 years ago
Eelco Dolstra 785eaf2cea Add some primops to lib 9 years ago
Eelco Dolstra a61b800da5 Fix backward compatibility with Nix < 1.6 9 years ago
Eelco Dolstra 70a2c54527 Strictly check the arguments to mkOption 9 years ago
Eelco Dolstra 800f9c2037 Show correct position info for errors in submodules 9 years ago
Eelco Dolstra 0afdb1e933 Add option type "str" for unique strings 9 years ago
Eelco Dolstra 73f32d0375 Show precise error messages in option merge failures 9 years ago
Eelco Dolstra d5047faede Remove uses of the "merge" option attribute 9 years ago
Eelco Dolstra f4a418761b Check for undeclared options 9 years ago