[darcs-devel] Exporting env vars to the posthook

Nathaniel Gray n8gray at caltech.edu
Thu Aug 31 15:50:27 PDT 2006


Juliusz Chroboczek wrote:
>> Without a doubt, but I don't know how to do it portably.  One way
>> would be to use System.Posix.Env.putEnv to put the vars into darcs'
>> environment before calling System.Cmd.system, but System.Posix.Env is
>> described as non-portable in the ghc docs.
> 
> That would certainly be the preferable solution.  After all, we're not
> portable already: we only support Ghc 6.2, 6.4 and 6.6.
> 
> So I'd suggest you do that.  If you can check the above three versions
> of Ghc, that's better, but I'll be glad to commit to the *unstable*
> branch even without that.

Ok, I'll get on it.

Cheers,
-n8

-- 
 >>>-- Nathaniel Gray -- Caltech Computer Science ------>
 >>>-- Mojave Project -- http://mojave.cs.caltech.edu -->




More information about the darcs-devel mailing list