lix/src
regnat f6078e474d Also display some suggestions for invalid formal arguments
```console
$ nix eval --expr '({ foo ? 1 }: foo) { fob = 2; }'
error: anonymous function at (string):1:2 called with unexpected argument 'fob'

       at «string»:1:1:

            1| ({ foo ? 1 }: foo) { fob = 2; }
             | ^
       Did you mean foo?
```

Not that because Nix will first check for _missing_ arguments before
checking for extra arguments, `({ foo }: foo) { fob = 1; }` will
complain about the missing `foo` argument (rather than extra `fob`) and
so won’t display a suggestion.
2022-03-08 16:40:22 +01:00
..
build-remote Move BuildResult defintion to its own header 2022-03-01 19:43:07 +00:00
libcmd Also display suggestions for the commands using the eval cache 2022-03-07 10:09:10 +01:00
libexpr Also display some suggestions for invalid formal arguments 2022-03-08 16:40:22 +01:00
libfetchers Point to new github oauth docs url 2022-03-06 17:01:14 -06:00
libmain Factor out a GcStore interface 2022-03-03 19:01:25 +00:00
libstore Merge pull request #6029 from Ma27/nix-log-ssh-ng 2022-03-07 09:51:40 +01:00
libutil Merge branch 'cli-suggestions' of https://github.com/thufschmitt/nix 2022-03-07 19:47:45 +01:00
nix Style 2022-03-07 20:07:43 +01:00
nix-build Add EvalState::coerceToStorePath() helper 2022-03-02 23:58:58 +01:00
nix-channel Fix segfault in headerCallback() 2022-03-03 11:11:16 +01:00
nix-collect-garbage Factor out a GcStore interface 2022-03-03 19:01:25 +00:00
nix-copy-closure copyPaths: Pass store by reference 2021-07-22 09:59:51 +02:00
nix-env Use C++11-style initializer 2022-03-03 10:02:11 +01:00
nix-instantiate Add EvalState::coerceToStorePath() helper 2022-03-02 23:58:58 +01:00
nix-store Factor out a GcStore interface 2022-03-03 19:01:25 +00:00
resolve-system-dependencies Fix macOS build 2022-02-21 17:14:22 +01:00
toml11 Replace cpptoml with toml11 2021-12-17 22:03:33 +01:00