[Haskell-cafe] Copy .cabal folder to diff machine/user

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Sat Dec 31 01:35:38 CET 2011


On 31 December 2011 11:27, Vagif Verdi <vagif.verdi at gmail.com> wrote:
> The problem is, i tried and it does not work. Cabal has absolute paths
> hardcoded in many places.
> So just copying folders does not work unless you copy it under the
> same home folder.

sed the ~/.ghc/*/package.conf.d/* files, then run ghc-pkg recache

>
> On Dec 30, 4:16 pm, Ivan Lazar Miljenovic <ivan.miljeno... at gmail.com>
> wrote:
>> On 31 December 2011 10:49, Vagif Verdi <vagif.ve... at gmail.com> wrote:
>>
>> > Is it possible to copy .cabal and .ghc folders to different machine/
>> > user and develop same project over there ?
>>
>> If you have the same version of GHC and necessary C libraries on all
>> machines, and they're all using the same architecture (e.g. all
>> x86_64) then it might be possible.
>>
>> --
>> Ivan Lazar Miljenovic
>> Ivan.Miljeno... at gmail.com
>> IvanMiljenovic.wordpress.com
>>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-C... at haskell.orghttp://www.haskell.org/mailman/listinfo/haskell-cafe
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com



More information about the Haskell-Cafe mailing list