:phoenix has a different value set for key :json_library
I know these configuration errors quite well by now, but I still feel a bit helpless. Last time it turned out to be fixable in the Mobilizon code base, so I have hope that it's going to be the same this time.
I'm seeing this when building for Nixpkgs on 3.0.0-rc.1.
...
Generated mobilizon app
warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell)
ERROR! the application :phoenix has a different value set for key :json_library during runtime compared to compile time. Since this application environment entry was marked as compile time, this difference can lead to different behaviour than expected:
* Compile time value was not set
* Runtime value was set to: Jason
To fix this error, you might:
* Make the runtime value match the compile time one
* Recompile your project. If the misconfigured application is a dependency, you may need to run "mix deps.compile phoenix --force"
* Alternatively, you can disable this check. If you are using releases, you can set :validate_compile_env to false in your release configuration. If you are using Mix to start your system, you can pass the --no-validate-compile-env flag
20:48:07.413 [error] Task #PID<0.202.0> started from #PID<0.94.0> terminating
** (stop) "aborting boot"
(elixir 1.13.4) Config.Provider.boot/2
Function: &:erlang.apply/2
Args: [#Function<1.84261748/1 in Mix.Tasks.Compile.All.load_apps/3>, [ex_cldr: "/build/source/_build/prod/lib"]]
** (EXIT from #PID<0.94.0>) an exception was raised:
** (ErlangError) Erlang error: "aborting boot"
(elixir 1.13.4) Config.Provider.boot/2