Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | | | lib: test for bitAnd, bitOr, bitXor | volth | 2018-06-02 | |
|/ / | ||||
* | | lib.types: fix loaOf behavior for long lists | Robert Helgesson | 2018-05-07 | |
| | | | | | | | | | | | | | | Assigning a list of 10 or more elements to an option having the type `loaOf a` produces a configuration value that is not honoring the order of the original list. This commit fixes this and a related issue arising when 10 or more lists are merged into this type of option. | |||
* | | lib/types: clear up coercedTo description | Silvan Mosberger | 2018-05-06 | |
| | | ||||
* | | lib/types: Add coercedTo unsound tests | Silvan Mosberger | 2018-05-06 | |
| | | ||||
* | | lib/generators: print paths without quotes & move function down | Profpatsch | 2018-04-25 | |
| | | ||||
* | | lib/generators: introduce a sane default for `mkValueString` | Profpatsch | 2018-03-29 | |
| | | | | | | | | | | | | | | | | | | So far, `mkValueString` defaulted to `toString`, which is a bad match for most configuration file formats, especially because how booleans are formatted. This also improves error messages for unsupported types. Add a test to codify the formatting. | |||
* | | Remove obsolete /nix/var/nix/{manifests,channel-cache} | Eelco Dolstra | 2018-03-20 | |
| | | ||||
* | | lib.isStorePath: Fix derivation detection | Shea Levy | 2018-03-09 | |
| | | ||||
* | | lib-tests: Don't depend on /bin/sh | Shea Levy | 2018-03-08 | |
|/ | | | https://hydra.nixos.org/build/70748333 | |||
* | lib, treewide: Add missing MIPS arches, and fix existing usage | Daniel Barlow | 2018-02-23 | |
| | | | | | | | | | Existing "mips64el" should be "mipsel". This is just the barest minimum so that nixpkgs can recognize them as systems - although required for building individual derivations onto MIPS boards, it is not sufficient if you want to actually build nixos on those targets | |||
* | lib/generators: add mkValueString to mkKeyValueDefault generator | Profpatsch | 2017-11-22 | |
| | | | | | | | | This means the generation of values can now be influenced, even down from e.g. an INI generator. Breaks the interface of `mkKeyValueDefault` to match its interface to other generator functions. It might me sensible to rename `mkKeyValue` and `mkKeyValueSet` to conform to the `toX`-style of generator functions. | |||
* | lib/types: add `ints.positive`. | Profpatsch | 2017-11-05 | |
| | | | | For values that are positive, but cannot be 0. | |||
* | lib/types: update docs to match the new type names | Profpatsch | 2017-11-05 | |
| | ||||
* | lib/types: add tests for `ints.between` and `ints.unsigned` | Profpatsch | 2017-11-05 | |
| | | | | | The int types are trivial invocations of `ints.between`, so they are not tested explicitely. | |||
* | lib/generators: put more information in toPretty lambdas | Profpatsch | 2017-06-22 | |
| | | | | | | With `builtins.functionArgs` we can get some information if the first argument is an attrset and whether the contained fields have default values. Encode that into the pretty-printed lambda. | |||
* | lib/generators: toPretty | Profpatsch | 2017-06-22 | |
| | | | | `toPretty` implements a pretty printer for nix values. | |||
* | lib-tests: fix test for isStorePath | Daiderd Jordan | 2017-06-09 | |
| | ||||
* | Add `isStorePath` tests (#26223) | Profpatsch | 2017-05-30 | |
| | ||||
* | lib tests: Simplify relative path for default argument | John Ericson | 2017-05-21 | |
| | ||||
* | lib: Consolidate tests into one meta job | John Ericson | 2017-05-17 | |
| | ||||
* | lib: Fix preexisting bugs in old platforms code (now bugs in tests) | John Ericson | 2017-04-17 | |
| | | | | Warning, this changes the compatibility claims of existing packages! | |||
* | lib: Fix system parsing, and use for doubles lists | John Ericson | 2017-04-17 | |
| | | | | | | | The old hard-coded lists are now used to test system parsing. In the process, make an `assertTrue` in release lib for eval tests; also use it in release-cross | |||
* | modules: add support for module replacement with disabledModules | Daiderd Jordan | 2017-03-03 | |
| | | | | | | | | This is based on a prototype Nicolas B. Pierron worked on during a discussion we had at FOSDEM. A new version with a workaround for problems of the reverted original. Discussion: https://github.com/NixOS/nixpkgs/commit/3f2566689 | |||
* | Revert "modules: add support for module replacement with disabledModules" | Vladimír Čunát | 2017-03-01 | |
| | | | | | This reverts commit 3f2566689d14f1d7778d55ca807d1dad2f4695d1 for now. Evaluation of the tested job got broken, blocking nixos-unstable. | |||
* | use relative path for module tests | Daiderd Jordan | 2017-02-28 | |
| | ||||
* | modules: add support for module replacement with disabledModules | Daiderd Jordan | 2017-02-28 | |
| | | | | | This is based on a prototype Nicolas B. Pierron worked on during a discussion we had at FOSDEM. | |||
* | modules lib: type description in type error message | Nikolay Amiantov | 2017-02-03 | |
| | ||||
* | module tests: add tests for coercedTo | Nikolay Amiantov | 2017-02-02 | |
| | ||||
* | Replace `./../*` with `../*` in Nix expressions (#16414) | John Ericson | 2016-06-22 | |
| | ||||
* | lib: alphabetize things | zimbatm | 2016-02-26 | |
| | ||||
* | NixOS modules: Add error context on module arguments evaluation. | Nicolas B. Pierron | 2015-07-14 | |
| | ||||
* | Add tests for the new module system improvements. | Nicolas B. Pierron | 2015-03-16 | |
| | ||||
* | Issue #6161 - Register lib tests as release blockers. | Nicolas B. Pierron | 2015-02-09 | |
| | ||||
* | Issue #6161 - Add tests for NixOS modules. | Nicolas B. Pierron | 2015-02-09 | |