angerman changed the topic of #haskell.nix to: https://input-output-hk.github.io/haskell.nix - alternative haskell infrastructure for nix; logs at https://logs.nix.samueldr.com/haskell.nix
acarrico has quit [Ping timeout: 258 seconds]
pjb has joined #haskell.nix
<michaelpj> ptival: there are some docs on adding new compiler versions if you look around
fendor has joined #haskell.nix
srk has quit [Remote host closed the connection]
srk has joined #haskell.nix
arnaudbailly has joined #haskell.nix
arnaudbailly has quit [Client Quit]
tdiesler has joined #haskell.nix
aveltras has joined #haskell.nix
tdiesler has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdiesler has joined #haskell.nix
strikerlulu_ has joined #haskell.nix
<ocharles> Anyone have some code I can copy and paste to import Haskell.nix and add it to our own nixpkgs import & overlays?
<ocharles> Right now, we have an overlay haskell.nix.nix with this: https://gist.github.com/ocharles/409cedf66e9789e2c081c0d9c90588e7
<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> Yea
<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]
hekkaidekapus{ has joined #haskell.nix
acarrico has quit [Ping timeout: 240 seconds]
acarrico has joined #haskell.nix
igghibu has joined #haskell.nix
igghibu has quit [Quit: Textual IRC Client: www.textualapp.com]
_d0t has joined #haskell.nix
<_d0t> ohai! When using haskell.nix, is there any way to get the commit hash of my git repo?
<_d0t> I use cleanGit, which copies files from the repo to /nix/store, but it omits .git and I don't see any way to get the hash out of that.
acarrico has quit [Ping timeout: 246 seconds]
tdiesler has quit [Quit: Textual IRC Client: www.textualapp.com]
_d0t has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #haskell.nix
o1lo01ol_ has quit [Ping timeout: 240 seconds]
fendor has quit [Remote host closed the connection]
fendor has joined #haskell.nix
fendor_ has joined #haskell.nix
fendor has quit [Ping timeout: 264 seconds]
_d0t has joined #haskell.nix
<_d0t> ocharles: oh great! Thank you!
<_d0t> somehow `keepGitDir` isn't mentioned in the docs here https://input-output-hk.github.io/haskell.nix/tutorials/clean-git/#cleangit :/
<ocharles> No problem!
acarrico has joined #haskell.nix
_d0t has quit [Ping timeout: 258 seconds]
fendor_ has quit [Read error: Connection reset by peer]
fendor__ has joined #haskell.nix
fendor__ has quit [Read error: Connection reset by peer]