nixpkgs/lib
Benno Fünfstück 691f683c8c types.nix: better error message for non-paths
This improves error messages when a set or a list is used where a path
was expected. For an example, if you used a package set (as opposed to a
single package) in systemPackages before this commit, the error was:

```
cannot coerce a list to a string, at "/home/nixpkgs/lib/types.nix":103:37
```

Now, the error message reads:

```
The option value `environment.systemPackages' in `/etc/nixos/configuration.nix' is not a list of paths.
```
2015-08-15 13:05:57 +02:00
..
tests NixOS modules: Add error context on module arguments evaluation. 2015-07-14 15:07:54 +02:00
attrsets.nix Allow options with type "package" to be store paths 2015-08-07 03:09:57 +02:00
composable-derivation.nix Shea told me composableDerivation is hard to understand. 2014-04-30 20:31:40 +02:00
customisation.nix Add function callPackagesWith 2015-07-28 21:42:25 +02:00
debug.nix lib: cleanup a little bit, add traceIf 2015-03-26 12:43:42 +00:00
default.nix Rename misc.nix -> deprecated.nix 2015-07-23 18:31:54 +02:00
deprecated.nix Remove deepOverride 2015-07-28 21:42:25 +02:00
licenses.nix notion: init at 3-2015061300 2015-07-13 12:08:05 -04:00
lists.nix Use builtins.sort 2015-07-28 18:42:22 +02:00
maintainers.nix luaPackages.vicious: init at 2.1.3 2015-08-06 12:59:08 +02:00
meta.nix Make appendToName do the right thing 2014-03-10 15:01:56 +01:00
modules.nix Module system: Fix ‘definitions’ field 2015-08-05 14:35:00 +02:00
options.nix Add read-only options 2015-07-30 13:44:50 +02:00
platforms.nix Improve the list of archs made by commit 1299c020e9 2015-04-17 15:25:54 +02:00
sources.nix Manual: Handle XML files in subdirectories 2014-08-25 14:33:33 +02:00
strings-with-deps.nix Replace hasAttr/getAttr calls with the ? and . operators 2014-10-05 01:11:06 +02:00
strings.nix Allow options with type "package" to be store paths 2015-08-07 03:09:57 +02:00
systems.nix lib: Use arithmetic operators rather than builtins.add etc. 2014-10-05 01:10:06 +02:00
tests.nix Move pkgs/lib/ to lib/ 2013-10-10 13:28:21 +02:00
trivial.nix Rename misc.nix -> deprecated.nix 2015-07-23 18:31:54 +02:00
types.nix types.nix: better error message for non-paths 2015-08-15 13:05:57 +02:00