<div dir="ltr">Nix instead of system, but roughly yes.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 29, 2019 at 5:46 AM Oleg Grenrus <<a href="mailto:oleg.grenrus@iki.fi">oleg.grenrus@iki.fi</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">To clarify: You mean different installations of same-version GHC? E.g.<br>
/opt/ghc/8.4.4/bin/ghc (HVR's) and /usr/bin/ghc (System default) which<br>
both happen to be 8.4.4 (so some other version)?<br>
<br>
- Oleg<br>
<br>
On 29.3.2019 5.44, Brandon Allbery wrote:<br>
> FWIW I've run into this one myself, and use (clones, if necessary, of)<br>
> v1 sandboxes for it currently.<br>
><br>
> I've also been both bitten by, and helped by, environment files. The<br>
> former is somewhat nastier, especially if you have multiple versions<br>
> of ghc around and a given environment file was generated by a<br>
> different ghc.<br>
><br>
> I also have a somewhat weird setup, because of how I ended up cobbling<br>
> this machine together: the global and user package dbs for my default<br>
> ghc are more or less "owned" by xmonad development, anything else is<br>
> in v2, a sandbox, or otherwise a different ghc version. Including nix,<br>
> also operating as a sandbox (that is, I use an alias to set up nix<br>
> within specific shells, rather than unconditionally loading its<br>
> config). Plus that "default ghc" is via wrappers around hvr's ghc<br>
> repos for Ubuntu. Which means I have lots of different ghcs around,<br>
> depending on which shell window I'm in. Not that I'm expecting anyone<br>
> to directly support this mess, but environment files seem to play<br>
> especially badly with multiple ghc versions with different packages<br>
> installed.<br>
><br>
> On Thu, Mar 28, 2019 at 11:33 PM <<a href="mailto:amindfv@gmail.com" target="_blank">amindfv@gmail.com</a><br>
> <mailto:<a href="mailto:amindfv@gmail.com" target="_blank">amindfv@gmail.com</a>>> wrote:<br>
><br>
><br>
>     > El 28 mar 2019, a las 3:26 PM, Richard Eisenberg<br>
>     <rae@richarde.dev> escribió:<br>
>     ><br>
><br>
>     [...]<br>
><br>
>     > 2. I get pilloried every time I say it, but I vastly prefer<br>
>     global package databases to local ones.<br>
><br>
>     I'll second this in one specific context. v2-build has been<br>
>     amazing at work and in general for project-based development, but<br>
>     – and maybe simply because I don't know the right incantations – a<br>
>     step backwards for impromptu coding where I don't want to set up a<br>
>     whole project to start messing with an idea.<br>
><br>
>     I've actually fallen back to v1-install for this specific usecase:<br>
>     I have a set of ~15 packages, all installed from local git repos,<br>
>     some of which depend on others, that I *always* want when I'm in<br>
>     GHCi. It's basically my base. I may simply be doing it wrong but<br>
>     I've been unable to use the "global ghc.env file" trick successfully.<br>
><br>
>     Tom<br>
>     _______________________________________________<br>
>     ghc-devs mailing list<br>
>     <a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a> <mailto:<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a>><br>
>     <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
><br>
><br>
><br>
> -- <br>
> brandon s allbery kf8nh<br>
> <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <mailto:<a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>><br>
><br>
> _______________________________________________<br>
> ghc-devs mailing list<br>
> <a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
> <a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>brandon s allbery kf8nh</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a></div></div></div></div></div>