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
srk has quit [Ping timeout: 240 seconds]
hekkaidekapus_ has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #haskell.nix
srk has joined #haskell.nix
hekkaidekapus_ has joined #haskell.nix
o1lo01ol1o has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Ping timeout: 256 seconds]
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Ping timeout: 246 seconds]
_rvl has quit [Quit: ZNC 1.8.1 - https://znc.in]
_rvl has joined #haskell.nix
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Ping timeout: 240 seconds]
__monty__ has joined #haskell.nix
fendor has joined #haskell.nix
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #haskell.nix
<mpickering> Does anyone have an example of setting up the iohk binary cache with github actions install-nix-action?
<michaelpj> mpickering: we do something extremely crude: https://github.com/input-output-hk/plutus/blob/master/.github/workflows/test.yml#L13
<michaelpj> don't know if there's a nicer way
<mpickering> Indeed, that was what I was just about to do
<mpickering> thanks
fendor_ has joined #haskell.nix
fendor has quit [Ping timeout: 260 seconds]
<domenkozar[m]> michaelpj: do you happen to know how to update happy?
<domenkozar[m]> I'm trying ghc-8.10 branch and:
<domenkozar[m]> checking for version of happy... 1.19.12
<domenkozar[m]> configure: error: Happy version 1.20 or later is required to compile GHC.
<michaelpj> WDYM, "trying ghc-8.10 branch"? 8.10 is in master, no?
<michaelpj> and I have no idea how the GHC bootstrapping works, unfortunately
<michaelpj> we need angerman or hamishmack
<angerman> The whole happy saga is sad.
<angerman> Ericson2314 is taking care of it, luckily.
<michaelpj> he is???
<domenkozar[m]> angerman: how do I generate 1.20?
<angerman> michaelpj: yes, see the ghc-dev ml
<angerman> domenkozar[m]: you need to pass it as bootstrap tool. I don’t know on top of my head.
<angerman> If I get some time after dinner to get to my computer I can check.
<hamishmack> What version of ghc is this? Pretty sure we are building 8.10.2 with happy 1.19.2. Is this an upcoming 8.10.3?
<domenkozar[m]> yeah
<hamishmack> Cool.
<hamishmack> If 8.10.1 and 8.10.2 build ok with 1.20 then we can just update it there.
<hamishmack> turn on `checkMaterialization` to update the materialized files
<hamishmack> That script updates loads of materialized files. You can comment out the ones you don't want it to build here https://github.com/input-output-hk/haskell.nix/blob/master/scripts/check-compiler-materialization/default.nix
<domenkozar[m]> ah, it's 1.20.0
<hamishmack> Otherwise it will not find happy 1.20.0 as it was uploaded after that date.
<domenkozar[m]> alright rebuilding the world
<domenkozar[m]> Using index-state 2020-12-10T00:00:00Z
<domenkozar[m]> 18607 days old.
<domenkozar[m]> Warning: The package list for 'hackage.haskell.org-at-2020-12-10T000000Z' is
<domenkozar[m]> wat?
<angerman> domenkozar[m]: cabal uses the time of the file to determine its age.
<domenkozar[m]> ah
<domenkozar[m]> ghc.mk:715: libraries/libiserv/ghc.mk: No such file or directory
<domenkozar[m]> that's probably because I'm getting ghc from git
<domenkozar[m]> alex: /nix/store/xnmp8rxa25nab61hpnkgwxcsjmx0278q-alex-exe-alex-3.2.4/share/x86_64-linux-ghc-8.4.4/alex-3.2.4-1pf5faR9dBuJ8mryql0DoA-alex/AlexTemplate-ghc-nopred: openFile: does not exist (No such file or directory)
<domenkozar[m]> ugh
<domenkozar[m]> huh why is alex compiled with ghc 8.4?!
<__monty__> Isn't that haskell.nix's boot compiler?
<domenkozar[m]> it's set to 8.8
o1lo01ol1o has quit [Remote host closed the connection]
hekkaidekapus{ has joined #haskell.nix
hekkaidekapus_ has quit [Ping timeout: 240 seconds]
<domenkozar[m]> ah it's 844 on linux
<domenkozar[m]> ok I'm stuck now :/
<domenkozar[m]> no idea why alex fails that way given that the patch is applied
<domenkozar[m]> angerman: welp
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Ping timeout: 256 seconds]
fendor has joined #haskell.nix
fendor_ has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #haskell.nix
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<domenkozar[m]> if I compile 8.10.3 with 8.6.5 I get
<domenkozar[m]> configure: error: GHC version 8.8 or later is required to compile GHC.
<domenkozar[m]> while 8.10.2 worked perfectly fine
<__monty__> Hmm, weren't you trying to use 8.8.4 as bootstrap compiler?
<domenkozar[m]> ahh, I see what's going on
<domenkozar[m]> maybe it's because I'm getting ghc from git
<domenkozar[m]> that's my whole diff
o1lo01ol1o has joined #haskell.nix
__monty__ has quit [Quit: leaving]
fendor has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #haskell.nix