Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Specifying a custom remote-repo in a cabal sandbox

Tags:

haskell

cabal

I would like to work on a project in a cabal sandbox. But instead of using the same remote-repo as my non-sandboxed code (i.e., Hackage), I'd like to point to a different remote repo. I tried creating a cabal.config file in the project directory with a remote-repo line, but it seemed to have no effect; running cabal update after that indicated that Hackage was being downloaded, but not my custom repo.

Is this use case supported, and if so, how do I achieve it?

like image 856
Michael Snoyman Avatar asked May 19 '14 15:05

Michael Snoyman


1 Answers

This is in fact a Cabal bug, I've opened a Github issue about it.

like image 97
Michael Snoyman Avatar answered Nov 05 '22 21:11

Michael Snoyman