-
Notifications
You must be signed in to change notification settings - Fork 72
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
Package load path #497
Comments
Hi there, thanks for looking into elba support! I think you might need to start by looking at `idris-ipkg-mode.el` and see what it provides. Then figure out what should be done to support elba from there.
… On Mar 20, 2019, at 4:45 AM, Norbert Melzer ***@***.***> wrote:
I'm trying to set up emacs and idris working together with elba package manager.
There they have told me, to let idris search for packages in target/deps based on my project dir.
I hoped I could set a variable that holds idris package load path, such that this variable + idris-load-packages in a .dir-locals.el would help me.
But I can not find a variable that I could use to actually define the path that the internally started idris would use to look packages up.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi @jsoo1, the work on elba side to support plugin integration is done (elba/elba#43), and now it's pretty simple to enable it in idris-mode for emacs. The main feature of elba for this is Any other parameters like I think we can implement the integration as the these steps:
|
I'd prefer if we just could swap out the Idris executable and setup some watches via config in for locals, this would make integration for other dependency managers a matter of them impleting the wrapper instead of Idris mode implementing support for their lock files. |
I like this idea. It also gives users control of what package manager to use. It might have drawback that we have to generalize the ipkg watch as well, which might cause backward compatibility problem. I think making |
One more step forward: we can let the wrapper do the watch. Then the only thing we need is a toggle that can disable ipkg. Of course, the wrapper can ignore the |
Yes I like the idea of having an interface for various package managers or build tools to implement, too. I think, though, that not much change will be required if Elba wants to own the compile step, too. I think it might be a matter of implementing the functions that pass arguments to the compiler and changing the idris binary name variable. |
I'm trying to set up emacs and idris working together with
elba
package manager.There they have told me, to let idris search for packages in
target/deps
based on my project dir.I hoped I could set a variable that holds idris package load path, such that this variable +
idris-load-packages
in a.dir-locals.el
would help me.But I can not find a variable that I could use to actually define the path that the internally started idris would use to look packages up.
The text was updated successfully, but these errors were encountered: