Re: [Haskell-cafe] redirecting cabal-install from /tmp

2010-04-17 Thread Daniel Fischer
Am Sonntag 18 April 2010 00:02:52 schrieb Chris Dornan: > Hi Everyone, > > > > I am trying to get cabal-install to work on a system in which /tmp is > mounted noexec. Is there any way to configure it to use another > directory? > cabal-install gets its temporary directory via System.Directory.get

Re: [Haskell-cafe] redirecting cabal-install from /tmp

2010-04-17 Thread Ivan Lazar Miljenovic
Daniel Fischer writes: > cabal-install gets its temporary directory via > System.Directory.getTemporaryDirectory, so you can specify some other > directory via the TMPDIR environment variable (TMP on windows). Except I think Chris wants to be able to specify a directory, since other application

Re: [Haskell-cafe] redirecting cabal-install from /tmp

2010-04-17 Thread Erlend Hamberg
On Sunday 18. April 2010 00.49.28 Ivan Lazar Miljenovic wrote: > Except I think Chris wants to be able to specify a directory, since > other applications would probably want to keep using /tmp for TMPDIR. alias cabal="TMPDIR=/foo cabal" -- Erlend Hamberg “Everything will be ok in the end. If it'

RE: [Haskell-cafe] redirecting cabal-install from /tmp

2010-04-17 Thread Chris Dornan
Thanks Daniel and Erlend, I now have cabal-install working. Chris -Original Message- From: daniel.is.fisc...@web.de [mailto:daniel.is.fisc...@web.de] Sent: 17 April 2010 5:4 PM To: haskell-cafe@haskell.org Cc: Chris Dornan Subject: Re: [Haskell-cafe] redirecting cabal-install from /tmp

Re: [Haskell-cafe] redirecting cabal-install from /tmp

2010-04-17 Thread Ivan Lazar Miljenovic
Erlend Hamberg writes: > On Sunday 18. April 2010 00.49.28 Ivan Lazar Miljenovic wrote: >> Except I think Chris wants to be able to specify a directory, since >> other applications would probably want to keep using /tmp for TMPDIR. > > alias cabal="TMPDIR=/foo cabal" Ooohhh, forgot you can do th