diff options
| author | Silvan Mosberger <contact@infinisil.com> | 2020-07-25 19:54:37 +0200 |
|---|---|---|
| committer | Profpatsch <mail@profpatsch.de> | 2022-04-01 22:03:05 +0200 |
| commit | 1c00bf394867b07ed7a908408d8bc1d0afd9fa49 (patch) | |
| tree | d7917805b5fdc34b7db02095d30792f26e9f122d /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | f8c1aee5dac656dac5bab6de54b06ea2ccf3242a (diff) | |
lib/customization: Improve callPackage error message for missing args
This uses the levenshtein distance to look through all possible
arguments to find ones that are close to what was requested:
error: Function in /home/infinisil/src/nixpkgs/pkgs/tools/text/ripgrep/default.nix
called without required argument "fetchFromGithub",
did you mean "fetchFromGitHub" or "fetchFromGitLab"?
With https://github.com/NixOS/nix/pull/3468 (in current nixUnstable) the error
message becomes even better, adding line location info
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
