3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos
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
..
doc/manual Allow options with type "package" to be store paths 2015-08-07 03:09:57 +02:00
lib Unify NixOS and Nixpkgs channel structure 2015-08-05 17:37:11 +02:00
maintainers Initial attempt at configuring from EC2 userdata (with input from cstrahan). Now with VM tests! 2015-06-11 23:16:35 -04:00
modules types.nix: better error message for non-paths 2015-08-15 13:05:57 +02:00
tests Unify NixOS and Nixpkgs channel structure 2015-08-05 17:37:11 +02:00
COPYING Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
default.nix Fix nixos-option 2013-10-28 22:45:58 +01:00
README Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
release-combined.nix Revert "Revert "Drop tests.installer.grub1 as release critical"" 2015-07-22 15:20:40 +02:00
release-small.nix Make OpenJDK release-critical 2015-07-14 16:03:29 +02:00
release.nix Disable system_tarball_pc and fix eval 2015-07-22 12:27:15 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.