Вопрос

I'm trying to make sure I don't enter dependency hell by using cabal-dev and I'm also trying to use leksah for my IDE. However, when adding packages to the local workspace in leksah, it build and installs the packages to my user ~/.cabal package space.

How can I force leksah to install package dependencies to the cabal-dev environment i've setup?

Это было полезно?

Решение

Well, this is not the quick and clean solution that you were looking for, but.... there is a development version of leksah available that has 'experimental cabal-dev' support. If you go through the src directory a little bit, and inspect the relevant files, you will see that there is an option added to the IDE preference menu, allowing you to use cabal-dev. Also has some updated code to install dependencies accordingly as well. The link is here:

https://github.com/leksah/leksah

Hope that helps.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top