zoedsoupe
Why my my phoenix project has some "Prelude" modules being redefined?
I migrated to NixOS and it’s being such a great option to create reproducible dev environment and all elixir-erlang related packges are awesome. So I created a shell.nix file as:
https://gist.github.com/Mdsp9070/e562e4caa7349ee26156fce8fd1a945e
but every time I compile my project I get these warnings:
warning: this clause cannot match because a previous clause at line 1 always matches
lib/collectable.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/collectable.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/collectable.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/collectable.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/collectable.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/enum.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/enum.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/enum.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/enum.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/enum.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/enum.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/enum.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/enum.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/enum.ex:1
warning: this clause cannot match because a previous clause at line 3 always matches
lib/string/chars.ex:3
warning: this clause cannot match because a previous clause at line 3 always matches
lib/string/chars.ex:3
warning: this clause cannot match because a previous clause at line 3 always matches
lib/string/chars.ex:3
warning: this clause cannot match because a previous clause at line 3 always matches
lib/string/chars.ex:3
warning: this clause cannot match because a previous clause at line 3 always matches
lib/string/chars.ex:3
warning: this clause cannot match because a previous clause at line 3 always matches
lib/string/chars.ex:3
warning: this clause cannot match because a previous clause at line 3 always matches
lib/string/chars.ex:3
warning: this clause cannot match because a previous clause at line 1 always matches
lib/iex/info.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/iex/info.ex:1
warning: this clause cannot match because a previous clause at line 1 always matches
lib/iex/info.ex:1
warning: this clause cannot match because a previous clause at line 6 always matches
lib/inspect.ex:6
warning: this clause cannot match because a previous clause at line 6 always matches
lib/inspect.ex:6
warning: this clause cannot match because a previous clause at line 6 always matches
lib/inspect.ex:6
warning: this clause cannot match because a previous clause at line 6 always matches
lib/inspect.ex:6
warning: this clause cannot match because a previous clause at line 6 always matches
lib/inspect.ex:6
warning: this clause cannot match because a previous clause at line 6 always matches
lib/inspect.ex:6
warning: this clause cannot match because a previous clause at line 6 always matches
lib/inspect.ex:6
warning: this clause cannot match because a previous clause at line 6 always matches
lib/inspect.ex:6
warning: this clause cannot match because a previous clause at line 6 always matches
lib/inspect.ex:6
warning: this clause cannot match because a previous clause at line 6 always matches
lib/inspect.ex:6
warning: this clause cannot match because a previous clause at line 6 always matches
lib/inspect.ex:6
warning: this clause cannot match because a previous clause at line 6 always matches
lib/inspect.ex:6
warning: this clause cannot match because a previous clause at line 6 always matches
lib/inspect.ex:6
warning: this clause cannot match because a previous clause at line 6 always matches
lib/inspect.ex:6
Any bets?
Marked As Solved
hauleth
Protocols - it may be that the precompiled modules (due to protocol consolidation) conflicts with non-precompiled dispatcher. The solution is to set ERL_LIBS=.
However that is only my hypothesis.
Popular in Questions
How to handle excepions in elixir?
Suppose i have A, B, C ,D, E modules. and each module has get() function.
A.get() method will call t...
New
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
I have a super simple question about elixir - how would I take a file like this
foo
bar
baz
and output a new file that enumerates th...
New
What is the proper way to load a module from a file in to IEX?
In the python world, doing something like this pretty standard:
from ....
New
I am trying to implement my new.html.eex file to create new posts on my website.
new.html.eex:
<h1>Create Post</h1>
<%= ...
New
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
I have followed this StackOverflow post to install the specific version of Erlang.
And When I am running mix ecto.setup then getting fol...
New
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors:
[WARN] - (starship::utils): Executing command ...
New
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New
Other popular topics
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
Hi everyone,
One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
Hi there,
I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including.
What is Phoenix LiveV...
New
Hello, I have map which I want to convert it to string like this:
the map:
%{last_name: "tavakkoli", name: "shahryar"}
the string I ne...
New
Hi everyone,
I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
Hey,
Just curious what are the main benefits of Elixir compared to Clojure?
When is Elixir more useful than Clojure and vice versa?
Th...
New
What learn first? Rust or Elixir
Hi Elixir community!
I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
I tried installing
elixir 1.11.2
erlang 23.3.4
via asdf in my zsh shell. Enabled the versions locally and globally.
When I list them ...
New
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









