Commit Graph

23 Commits (e4630c1d41d513eb709bddb39043da84442235a7)

Author SHA1 Message Date
Eelco Dolstra ebe57b1ac8 Remove lib.typeOf 10 years ago
Shea Levy 83c98e4dd6 loaOf: Allow merging definitions from a list into other definitions IFF there is a name attribute 10 years ago
Shea Levy c8f1a6ac1e Revert "Add nixosSubmodule option type" 11 years ago
Shea Levy 4fd825cc94 Revert "Add option type for a submodule with extra arguments" 11 years ago
Shea Levy 220654e205 Revert "Add heterogeneousAttrsOf option type" 11 years ago
Shea Levy 3f70dabad3 Add heterogeneousAttrsOf option type 11 years ago
Shea Levy 8764758044 Add option type for a submodule with extra arguments 11 years ago
Shea Levy ca1c5cfa8f Add nixosSubmodule option type 11 years ago
Shea Levy 84a7a09bc8 Try to improve naming of list elements in loaOf types 11 years ago
Eelco Dolstra 785eaf2cea Add some primops to lib 11 years ago
Eelco Dolstra a61b800da5 Fix backward compatibility with Nix < 1.6 11 years ago
Eelco Dolstra 70a2c54527 Strictly check the arguments to mkOption 11 years ago
Eelco Dolstra 800f9c2037 Show correct position info for errors in submodules 11 years ago
Eelco Dolstra 0afdb1e933 Add option type "str" for unique strings 11 years ago
Eelco Dolstra 73f32d0375 Show precise error messages in option merge failures 11 years ago
Eelco Dolstra d5047faede Remove uses of the "merge" option attribute 11 years ago
Eelco Dolstra f4a418761b Check for undeclared options 11 years ago
Eelco Dolstra c263b5b284 Show error locations in submodules 11 years ago
Eelco Dolstra 89bd18b3af Fix manual generation 11 years ago
Eelco Dolstra b479dac8df Inline some functions on the critical path 11 years ago
Eelco Dolstra cfab329437 Use isType instead of typeOf 11 years ago
Eelco Dolstra 0e333688ce Big cleanup of the NixOS module system 11 years ago
Eelco Dolstra 5fef92c4a0 Move pkgs/lib/ to lib/ 11 years ago
Evgeny Egorochkin 993deb1a4a Hopefully a fixed version of Refactor: introduce isType reducing redundancy. 11 years ago
Eelco Dolstra d28a189af6 Revert "Refactor: introduce isType reducing redundancy (trivial change)" 11 years ago
Marc Weber 52204af457 Refactor: introduce isType reducing redundancy (trivial change) 11 years ago
Marc Weber 53994036d3 Replace fold by all because its more readable and shorter 11 years ago
Evgeny Egorochkin fcbc4fe9ff Deprecate lib.zip in favor of lib.zipAttrsWith. 11 years ago
Marc Weber a3f148ce96 Improve option types documentation. 11 years ago
Marc Weber 983c87a1dd Improve the error message for uniq option type. 11 years ago
Marc Weber fd803fce60 List should be an alias of listOf, and it should no longer be used. 11 years ago
Marc Weber b00d824930 Drop inferred, because "it was supposed to be used at every location 11 years ago
Shea Levy 932dd06f3f Revert "Add isPath to trivial.nix" 11 years ago
Shea Levy 2742087bdd Add isPath to trivial.nix 11 years ago
Eelco Dolstra e4ce304333 types.nix: Add a ‘lines’ type 12 years ago
Shea Levy c1598d167e Simplify lib.typeOf 12 years ago
Shea Levy 2eb0c6fba5 D'oh 12 years ago
Shea Levy 95679e1344 Misunderstood hasOptions, I think 12 years ago
Shea Levy ce6d4070a6 Add a 'functionTo x' type. 12 years ago
Eelco Dolstra c0a483632c Eliminate some calls to ‘tail’ 12 years ago
Eelco Dolstra 46dc120270 Fix the "path" option type 12 years ago
Eelco Dolstra 040cf06388 * Add a type "path". 12 years ago
Eelco Dolstra bcffafa65a * Whitespace. 13 years ago
Nicolas Pierron 6cb018fe90 Add a new type to handle list and attribute sets. 13 years ago
Nicolas Pierron 3770ac23aa Fix type name of attribute sets. 13 years ago
Nicolas Pierron 56ed820f84 Add systems.nix give more control over the increasing list of supported 15 years ago
Nicolas Pierron 8b47086b85 * Change the check function to accept sub-modules with arguments in 15 years ago
Nicolas Pierron 10d74af2f6 * Add a type to handle environment variables with the usual string 15 years ago
Nicolas Pierron d8bbae877a * Add a type for read-only options. Options which are only declared 15 years ago
Nicolas Pierron 03eab95618 Only allow properties with a onGlobalEval function to go through specific 15 years ago