summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorBenno Fünfstück <benno.fuenfstueck@gmail.com>2015-02-09 21:49:01 +0100
committerBenno Fünfstück <benno.fuenfstueck@gmail.com>2015-08-15 13:05:57 +0200
commit691f683c8c3e5423bfe39e3c12f5a325130ec014 (patch)
tree9b5d98f809c2a17f573201d25b162cf313137afe /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentfd53387bbaffcab7b6a8db083a92220238a1ef38 (diff)
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. ```
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions