Thanks for the link. Seems nice, but it expects a working sandbox on the proper place.
I'm syncing and backing up, so sandboxes are on the wrong places.

I made a small bash script to update the sandbox to its current location.
If someone needs such a functionality, it is attached.
However, please use it first on a **copy**. It is not thoroughly tested.

vlatko

-------- Original Message --------
Subject: Re: [Haskell-cafe] cabal sandbox using absolute path on symlinked dir
From: Corentin Dupont <corentin.dupont@gmail.com>
To: Brandon Allbery <allbery.b@gmail.com>
Cc: Vlatko Bašić <vlatko.basic@gmail.com>, haskell-cafe <Haskell-cafe@haskell.org>
Date: 10.10.2014 16:34


This project seems to do what you want (I didn't test it):
https://github.com/philopon/sandbox-move

Although I think it would be better to have relative file paths in cabal.sandbox.config...

On Fri, Oct 10, 2014 at 4:29 PM, Brandon Allbery <allbery.b@gmail.com> wrote:
On Fri, Oct 10, 2014 at 10:14 AM, Vlatko Basic <vlatko.basic@gmail.com> wrote:
There is no way to move the project to a different place without recreating the whole sandbox.

It would be nice if there were a tool to do this. It should not be difficult to programmatically adjust those paths and the ones in the ghc package directory, and reindex the latter.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe