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:
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
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
What is the idiomatic way of matching for not nil in Elixir?
E.g.,
First way:
defp halt_if_not_signed_in(conn, signed_in_account) when...
New
The Elixir Typespec docs show the following syntax for keyword lists in typespecs:
# ...
| [key: type] # keyword lis...
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
I’m trying to make a websocket server in Phoenix or raw Elixir. I heard about gun, I think I could use cowboy, but since I’m not that sma...
New
Hi all
I want to have a unix time, from the current time plus 1 hour.
DateTime.now + 1 hour
How to get it in elixir?
Thanks
New
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
Sometimes I want to check if the input into a function is not a blank string.
My first approach:
defmodule Example do
def do_stuff(s...
New
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
Other popular topics
Phoenix 1.4.0 released
Phoenix 1.4 is out! This release ships with exciting new features, most notably
with HTTP2 support, improved deve...
New
Manning 2016 Halloween weekend sale via Deal of the Day
Friday, October 28 - Half off all MEAPs - code WM102816LT
Saturday, October 29 ...
New
Good day to you all.
I have been struggling to get a query involving like and ilike to work.
Can anyone assist me on this, please?
pro...
New
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
The Elixir Typespec docs show the following syntax for keyword lists in typespecs:
# ...
| [key: type] # keyword lis...
New
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch.
This project took far...
New
I have a User schema with a :from_id field set to type :string:
defmodule TweetBot.Repo.Migrations.CreateUsers do
use Ecto.Migration
...
New
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
by Lance Halvorsen
Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web application...
New








