!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

700 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/140 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
22 Feb 2025
@janus.troelsen:matrix.orgJanusthe fact that e.g. recordDotSyntax is always on and can't be turned off means that lots of code isn't compatible04:37:06
@janus.troelsen:matrix.orgJanus I've just removed NonDecresingSyntax use from happy to make it compatible 04:37:25
@alex:tunstall.xyzAlex

it sounds like [going via old GHC] is not the plan

I'd rather not because of old LLVM and worse support for old arches, but if nothing else works I will.

04:38:47
@alex:tunstall.xyzAlex *

it sounds like [going via old GHC] is not the plan

I'd rather not because of old LLVM and worse support for exotic arches, but if nothing else works I will.

04:39:01
@janus.troelsen:matrix.orgJanus
In reply to @emilazy:matrix.org
it doesn't seem out of the question for augustss to just go and implement every relevant GHC extension :)
also , I think augustss might have some strong views on some of these newer extensions. I don't feel like digging now but it might be in the talks he did
04:39:08
@janus.troelsen:matrix.orgJanus are you coming to zurihac ? augustss is going to be there this year 04:39:37
@janus.troelsen:matrix.orgJanus
In reply to @alex:tunstall.xyz

it sounds like [going via old GHC] is not the plan

I'd rather not because of old LLVM and worse support for exotic arches, but if nothing else works I will.

some arches were better supported back then .. GHC was started on Sparc ;)
04:41:25
@alex:tunstall.xyzAlexSome of them have rotted? Unfortunate, but I'm most concerned about RISC-V support, which old versions definitely lack.04:42:48
@rosscomputerguy:matrix.orgTristan RossRISC-V definitely isn't anything to worry about lol. I've struggled to get things working, even with a good setup.04:43:50
@janus.troelsen:matrix.orgJanus
In reply to @alex:tunstall.xyz
Some of them have rotted? Unfortunate, but I'm most concerned about RISC-V support, which old versions definitely lack.
Sparc rotted everywhere since they were uncompetitive with Intel . basically sun gave up on having their own arch.
04:45:04
@janus.troelsen:matrix.orgJanus anyway, exotic archs is ideally an orthogonal effort . bootstrapping is hard enough already , not sure why you want to make it even harder by considering exotics 04:46:45
@janus.troelsen:matrix.orgJanus if you have it working on 32 bit Intel you can always try cross compiling from any point in the compiler chain 04:47:17
@janus.troelsen:matrix.orgJanus I would even consider running on modern systems an unnecessary way to make things harder 04:48:24
@janus.troelsen:matrix.orgJanus for example, nhc crashes on 64 bit IIRC 04:48:40
@janus.troelsen:matrix.orgJanus it's likely that old GHC runtime systems have similar issues . even though Linux promises 100% backwards compat, they did Change the syscall Interface 04:49:31
@janus.troelsen:matrix.orgJanuslike, I think ghcup fails to install GHC 7.10 on modern ubuntus ? another example of broken compat04:51:46
@alex:tunstall.xyzAlex

Yeah I know about nhc98's reliance on 32-bit. I have much higher hopes that MicroHs doesn't have such silly issues and, even if it did, it would be much easier to patch & upstream.

Some exotics is better than none; right now, we only have what upstream has bindists for.

04:54:46
@emilazy:matrix.orgemily well, except that Nixpkgs barely supports i686-linux at this point 04:54:54

Show newer messages


Back to Room ListRoom Version: 6