diff options
| author | Maximilian Bosch <maximilian@mbosch.me> | 2020-08-03 16:32:15 +0200 |
|---|---|---|
| committer | Maximilian Bosch <maximilian@mbosch.me> | 2020-08-03 16:37:59 +0200 |
| commit | 6d19c044162d74a95f6bb0379ed4edc8840ec0f6 (patch) | |
| tree | f0401e8b698ce8c3cfc4b3853b9fb056a343a1c5 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | 3c155bb20c96cf8475670a488a0e22f0b388b6a2 (diff) | |
nixos/manual: improve error message for invalid values in `relatedPackages'
As reported in NixOS discourse[1], tracking down invalid values in
`relatedPackages'[2] (i.e. list-items that don't exist in `pkgs`) is
fairly hard as the message "Invalid package attribute path `foobar'"
is quite unhelpful and the trace doesn't point to the source of the
problem either.
This patch improves the error message by mentioning that the issue is an
invalid `relatedPackages`-declaration in $optionName.
[1] https://discourse.nixos.org/t/invalid-package-attribute-path-nextcloud19/8403/9
[2] https://nixos.org/nixpkgs/manual/#sec-functions-library-options
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
