Hi!

    There is an effort at the moment in NixOS to add mix dependency in the 
store. The idea being that a dependency with a particular version and name 
can be found and nix understands that a mix project has that particular 
dependency.

    Currently parsing the mix.lock can give the dependency tree.

    When building a particular dependency which has itself dependencies. 
How can mix be made aware of where those dependencies are?
    To clarify a little. `plug` has a dependency on `mime` `plug_crypto` 
and `telemetry`. Once those three dependencies have been compiled, when 
it's time to compile plug, how can I make mix understand where those 
dependencies are?
    Should the path of those dependencies be added to the `$ERL_LIBS` env 
var ?
    Should those compiled dependencies be placed symlinked under 
`_build/$MIX_ENV/lib` ?

    My understanding is that the compilation will have to happen with `mix 
compile --no-deps-check`.

   I couldn't find relevant documentation in mix, I would be interested in 
any pointers.

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/0a0e7534-2e23-45a9-9c7d-eecf83c9def4n%40googlegroups.com.

Reply via email to