diff options
| author | Silvan Mosberger <contact@infinisil.com> | 2020-08-18 00:12:36 +0200 |
|---|---|---|
| committer | Silvan Mosberger <contact@infinisil.com> | 2020-08-18 00:12:36 +0200 |
| commit | d5700d626ceef8ba509f822ee6e3b0a41a5da89f (patch) | |
| tree | 1fe45783e279055830046f02e01739ecf230efa7 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 1e3f09feaa5667be4ed6eca96a984b4642420b83 (diff) | |
lib/modules: Fix nonexistant option error
The refactoring in https://github.com/NixOS/nixpkgs/commit/fd75dc876586bde8cdb683a6952a41132e8db166
introduced a mistake in the error message that doesn't show the full
context anymore. E.g. with this module:
options.foo.bar = lib.mkOption {
type = lib.types.submodule {
baz = 10;
};
default = {};
};
You'd get the error
The option `baz' defined in `/home/infinisil/src/nixpkgs/config.nix' does not exist.
instead of the previous
The option `foo.bar.baz' defined in `/home/infinisil/src/nixpkgs/config.nix' does not exist.
This commit undoes this regression
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
