!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

725 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org145 Servers

Load older messages


SenderMessageTime
4 Apr 2025
@hellwolf:matrix.orghellwolfoh, that's definitely surprising. I don't get the smartness part yet.11:46:27
@maralorn:maralorn.demaralornYou don’t get why it’s smart or you don’t get the specification?^^11:50:50
@hellwolf:matrix.orghellwolfI don't get why it is smart.11:51:04
@maralorn:maralorn.demaralornWell in this case the library can demand a compatibility lib (old-locale) based on the available version of the time library. Seems useful to me.11:55:31
@maralorn:maralorn.demaralornAlthough I can see why someone would want a less smart/complex build system 😄11:56:02
@hellwolf:matrix.orghellwolf:D all I want is HLS for 9.1212:01:46
@hellwolf:matrix.orghellwolfhopefully before xmas12:01:48
@hellwolf:matrix.orghellwolfgonna find some examples from pkgs/development/haskell-modules/configuration-nix.nix to understand how to override cpphs 12:02:54
@maralorn:maralorn.demaralornI think we can do that. 😉14:25:34
@hellwolf:matrix.orghellwolfI fixed a bunch of build errors for hls 912. Now I am stuck at ghc-exactprint. to be continued tomorrow22:30:01
5 Apr 2025
@divyaranjan:matrix.orgDivya joined the room.08:17:12
@divyaranjan:matrix.orgDivyaemily: Why can't GHC be fully bootstrapped from source? We (Guix) bootstrap GHC uptp 9.24from GHC 4 and it works.08:22:20
@divyaranjan:matrix.orgDivya* emily: Why can't GHC be fully bootstrapped from source? We (Guix) bootstrap GHC uptp 9.4 from GHC 4 and it works.08:22:32
@emilazy:matrix.orgemilywhat do you build GHC 4 with?08:22:54
@divyaranjan:matrix.orgDivya* emily: Why can't GHC be fully bootstrapped from source? We (Guix) bootstrap GHC upto 9.4 from GHC 4 and it works.08:22:58
@emilazy:matrix.orgemilyI know there are various designs on using Hugs to bootstrap or the like, but I didn't think anyone had actually managed to construct a complete chain. there are a lot of issues08:23:15
@divyaranjan:matrix.orgDivya
In reply to @emilazy:matrix.org
I know there are various designs on using Hugs to bootstrap or the like, but I didn't think anyone had actually managed to construct a complete chain. there are a lot of issues
Yeah, I realized. The chain from GHC 4 to GHC 9.2 isn't complete yet. But probably can be done.
08:32:31
@emilazy:matrix.orgemilythat chain isn't really the hard part08:32:43
@emilazy:matrix.orgemilyit's getting a GHC in the first place08:32:46
@emilazy:matrix.orgemilyhow is GHC 4 built?08:32:52
@divyaranjan:matrix.orgDivya
In reply to @emilazy:matrix.org
how is GHC 4 built?
GHC 4 is bootstrapped from source.
08:35:01
@emilazy:matrix.orgemilyhuh. how? Hugs?08:42:20
@terrorjack:matrix.orgterrorjack from generated .hc sources actually: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/haskell.scm#n221 08:42:30
@emilazy:matrix.orgemilyok. that's not from source :)08:42:48
@emilazy:matrix.orgemilybut makes sense08:42:53
@divyaranjan:matrix.orgDivyaYeah from HC08:43:02
@emilazy:matrix.orgemilythat's not source. that's compiler output08:43:12
@divyaranjan:matrix.orgDivyaIndeed. Someday I need to sit down and do the chain from Hugs. It's sad that Haskell hasn't taken care of this.08:44:49
@divyaranjan:matrix.orgDivyaHave you guys talked to the GHC folks?08:45:05
@emilazy:matrix.orgemilyit's not as simple as chaining from Hugs, people have tried but it requires a lot of patching to even start getting anywhere08:46:57

Show newer messages


Back to Room ListRoom Version: 6