Files
nixpkgs/lib
Silvan Mosberger 1c00bf3948 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
2022-04-01 22:03:05 +02:00
..
2021-01-25 19:25:50 +01:00
2021-01-26 10:57:07 +07:00
2021-08-14 14:46:00 -05:00
2020-06-04 13:43:10 +02:00
2022-01-30 02:04:51 +01:00