lix/src
Shay Bergmann ba81e871b2
toJSON: report error position for fancier output
Given flake:

```nix
{ description = "nix json error provenance";
  inputs = {};
  outputs = { self }: {
    jsonFunction = _: "function";
    json = builtins.toJSON (_: "function");
  };
}

```
- Before:

```console
❯ nix eval --json .#jsonFunction
error: cannot convert a function to JSON
```

- After:

```console
❯ nix eval --json .#jsonFunction
error: cannot convert a function to JSON

       at /nix/store/b7imf1c2j4jnkg3ys7fsfbj02s5j0i4f-source/testflake/flake.nix:4:5:

            3|   outputs = { self }: {
            4|     jsonFunction = _: "function";
             |     ^
            5|     json = builtins.toJSON (_: "function");
```
2021-10-25 21:17:52 +00:00
..
build-remote copyPaths: Pass store by reference 2021-07-22 09:59:51 +02:00
cpptoml Revert the enum struct change 2020-06-18 22:11:26 +00:00
libcmd std::visit by reference 2021-09-30 21:35:09 +00:00
libexpr toJSON: report error position for fancier output 2021-10-25 21:17:52 +00:00
libfetchers Explicitly set initial branch name for git 2021-09-24 22:09:49 +08:00
libmain Merge pull request #5224 from baloo/baloo/5089/force-nss_dns-load 2021-09-09 10:37:41 +02:00
libstore Add another path where a Rosetta 2 configuration file is possibly located 2021-10-15 09:48:15 +09:00
libutil fix build with gcc11 2021-10-13 18:03:33 +00:00
nix toJSON: report error position for fancier output 2021-10-25 21:17:52 +00:00
nix-build nix-shell --pure: Let it work for any derivation 2021-08-06 15:30:49 -07:00
nix-channel Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-collect-garbage Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-copy-closure copyPaths: Pass store by reference 2021-07-22 09:59:51 +02:00
nix-env toJSON: report error position for fancier output 2021-10-25 21:17:52 +00:00
nix-instantiate toJSON: report error position for fancier output 2021-10-25 21:17:52 +00:00
nix-store nix-store --serve: pass on settings.keepFailed from SSH store 2021-08-31 13:11:46 +02:00
nlohmann nlohmann_json: Update to 3.9.1, fix use of internal copy 2021-07-15 12:25:53 +02:00
resolve-system-dependencies Apply OS checks to host platform, not build 2021-06-23 15:00:36 +00:00