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: 256 seconds]
srk has joined #haskell.nix
hekkaidekapus_ has joined #haskell.nix
hekkaidekapus has quit [Ping timeout: 240 seconds]
ajmcmiddlin has quit [Ping timeout: 272 seconds]
ajmcmiddlin has joined #haskell.nix
mpickering has quit [Ping timeout: 272 seconds]
mpickering has joined #haskell.nix
johnny101 has quit [Ping timeout: 264 seconds]
johnny101 has joined #haskell.nix
Tritlo has quit [Ping timeout: 272 seconds]
Tritlo has joined #haskell.nix
lally has quit [Ping timeout: 272 seconds]
lally has joined #haskell.nix
typetetris has quit [Ping timeout: 272 seconds]
typetetris has joined #haskell.nix
manveru has quit [Ping timeout: 272 seconds]
manveru has joined #haskell.nix
typetetris has quit [Ping timeout: 272 seconds]
typetetris has joined #haskell.nix
tnks has quit [Ping timeout: 272 seconds]
tnks has joined #haskell.nix
hyperfekt has quit [Ping timeout: 265 seconds]
hyperfekt has joined #haskell.nix
__monty__ has joined #haskell.nix
hekkaidekapus_ is now known as hekkaidekapus
dhess has joined #haskell.nix
<dhess> angerman: around?
<angerman> dhess: sure
<dhess> angerman: now that Big Sur support is in nixpkgs trunk, do I need to rebuild haskell.nix using that nixpkgs?
<dhess> to get haskell.nix projects working on Big Sur, I mean
<angerman> dhess: I guess any mac build built against master would do. I'm afraid I haven't had much a chance to look at this yet :-/
<dhess> angerman: no worries, of course.
<dhess> angerman: but just to make sure I understand you correctly, you're suggesting that I'll need to evaluate the haskell.nix default.nix and pass master nixpkgs as the `pkgs` argument?
<angerman> Yes, haskell.nix against master. However I can't say we test that :-/ So things might break unexpectedly.
<dhess> yeah, that'll be fun :D
<dhess> ok thanks for the info
<dhess> I'm gonna try it. I'll let you know how it goes.
<angerman> excellent!
<dhess> angerman: don't suppose you've tried x86_64-darwin GHC on the Apple Silicon DTK yet?
<angerman> dhess: I'll do you one better, I even have native arm64 ghcs, with a native code gen.
<dhess> angerman: I asked Ben Gamari about this on Twitter but haven't heard back yet -- does that work out of the box on Apple Silicon?
<dhess> I think the only aarch64 target for GHC is Linux-specific, no?
<dhess> ohhh nice!
<dhess> angerman: :O :O :O
<dhess> amazing!
<dhess> angerman: how hard would it be to hack that build target into haskell.nix?
<dhess> Is there any 9.1.0 support yet?
<angerman> We basically need https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4310 and https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4390 merged, before we can merge the aarch64-ncg
<angerman> dhess: the primary issue would be a arm64 nix toolchain/stdenv.
<angerman> thefloweringash has some hacked up version here: https://github.com/thefloweringash/nixpkgs/tree/apple-silicon-1
<dhess> angerman: right
<angerman> I'm just hopelessly timestrapped to even try this.
<dhess> I will try to put this all together in the next week or 2
<dhess> angerman: is there vanilla 9.1.0 support in haskell.nix yet?
<angerman> and the first thing I'd try would be to use ghc.nix (alp's build env) and then build ghc in that.
<angerman> dhess: 9.1 is in-flight anyway, the next major will be 9.2
<dhess> that's probably beyond my abilities to add, but if I just need to glue together some variants I can probably handle that
<dhess> ok cool
acarrico has joined #haskell.nix
fendor has joined #haskell.nix
acarrico has quit [Ping timeout: 240 seconds]
acarrico has joined #haskell.nix
acarrico has quit [Ping timeout: 256 seconds]
acarrico has joined #haskell.nix
acarrico has quit [Ping timeout: 260 seconds]
acarrico has joined #haskell.nix
<__monty__> Hmm, I'm getting attribute ghc822 missing in a stack project. Is LTS 11.5 too old to use with haskell.nix?
<__monty__> I guess I'm a little confused this applies to stack LTSes too.
<michaelpj> LTS version determines GHC version, we only support some GHCs
<angerman> __monty__: if you want to add 8.2.2, feel free to do so. I believe the oldest we have in Haskell.nix is 8.6
<__monty__> Turns out the subprojects have cabal files. So I can sidestep the issue easily in this case. Have to keep in mind though that only snapshots with a supported GHC will work.
acarrico has quit [Ping timeout: 260 seconds]
acarrico has joined #haskell.nix
<dhess> angerman: Looks like building 8.10.2 against nixpkgs master worked
<dhess> on macOS Catalina, anyway.
<dhess> No, I spoke too soon. Doesn't build :()
<dhess> :(
<shapr> chessai: hi
<chessai> Shapr hi
<shapr> chessai: how you doin? I'm finally learning some nix things
<chessai> Shapr: hallelujah
<chessai> shapr: doing pretty good, doing cool stuff
<shapr> I was able to fire up a hoogle server from nix, but it doesn't index all the libraries... so now I'm fixing all the haddock parse errors in this codebase
<shapr> is that the actual problem? no idea!
<angerman> dhess: whats busted?
<dhess> angerman: hi :)
<dhess> here's a build log after the initial build failed
<dhess> angerman: and here's the diff against haskell.nix master. As you can see, all I did was hack up ci.nix to build against nixpkgs master only:
<dhess> just to save time :)
<dhess> angerman: I'm building ghc865 now to see how that goes
<angerman> Alright I’ll check in 3hs again ;)
<dhess> hehehe
__monty__ has quit [Quit: leaving]