Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing cryptex via mix imports wrong app #1

Open
JediLuke opened this issue Dec 29, 2017 · 1 comment
Open

Importing cryptex via mix imports wrong app #1

JediLuke opened this issue Dec 29, 2017 · 1 comment

Comments

@JediLuke
Copy link

I imported this library following the instructions given here, but it pulled this other Elixir library called cryptex instead https://github.com/scrogson/cryptex

@JediLuke
Copy link
Author

For those who come across this issue and may be unaware, one workaround is simply to import the library as a git repo. In my mix.exs I have

defp deps do
   [
      # Import libraries using the following syntax:
      #{:dep_from_hexpm, "~> 0.3.0"},
      #{:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"},
      {:httpotion,      "~> 3.0.2"},
      {:postgrex,       ">= 0.0.0"},
      {:ecto,           "~> 2.1"},
      {:poison,         "~> 3.1"},
      # {:cryptex,        "~> 0.0.1"},
      {:cryptex,        git: "https://github.com/impl/cryptex"}
   ]
   end

The line commented out is the one that originally caused me to import the other library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant