Copy .cabal folder to diff machine/user

Is it possible to copy .cabal and .ghc folders to different machine/ user and develop same project over there ? Or is the only way to allow a team of developers to work on the same project is to force each one of them to install all necessary packages on their machines.

On 31 December 2011 10:49, Vagif Verdi
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.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

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.
On Dec 30, 4:16 pm, Ivan Lazar Miljenovic
On 31 December 2011 10:49, Vagif Verdi
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...@gmail.com IvanMiljenovic.wordpress.com
_______________________________________________ Haskell-Cafe mailing list Haskell-C...@haskell.orghttp://www.haskell.org/mailman/listinfo/haskell-cafe

On 31 December 2011 11:27, Vagif Verdi
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
wrote: On 31 December 2011 10:49, Vagif Verdi
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...@gmail.com IvanMiljenovic.wordpress.com
_______________________________________________ Haskell-Cafe mailing list Haskell-C...@haskell.orghttp://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com
participants (2)
-
Ivan Lazar Miljenovic
-
Vagif Verdi