<ocharles>
Ideally I want to change this overlay to not import nixpkgs
<ocharles>
I know default.nix gives us the `allOverlays` attribute, but not entirely sure what that is - is it a function of two package sets (allOverlays self super)?
<ocharles>
Ok, prepending `(import sources."haskell.nix").overlays` to our list of overlays seems to have worked
<ocharles>
I think that's doing what we currently do (using Haskell.nix's pinned nixpkgs), but I don't want that - but I think I'm good now
<ocharles>
We'll find out once several GHCs have been built :D
<ocharles>
We run a different nixpkgs version, so I'm not exactly expecting cache hits against the IO.hk cache
<ocharles>
I'm just trying to avoid us implicitly depending on two versions of nixpkgs and doubling evaluation work. I think just adding the Haskell.nix overlays should do the job though
<ocharles>
Cool, so this should work (assuming our other overlays don't negatively interact with what Haskell.nix assumes)
<ocharles>
Yay, global coherence
<angerman>
We try to be hermetic to the Haskell-nix prefix :-)
<angerman>
Haskell.nix will still use the Haskell compiler it ships itself and not use any from nixpkgs.
<ocharles>
Ah, but that compiler is within pkgs.haskell-nix?
hekkaidekapus{ has joined #haskell.nix
hekkaidekapus} has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<angerman>
yea
<angerman>
ocharles: it's just too frickle to depend on the compilers taht nix ships, and they might be mutated in non-compatible ways by the nix maintainers.
<angerman>
so you'll end up always building your set of compilers for haskell.nix and will never be able to rely on those in nixpkgs.
acarrico has joined #haskell.nix
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol_ has joined #haskell.nix
hekkaidekapus{ has quit [Ping timeout: 268 seconds]