!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

681 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure134 Servers

Load older messages


SenderMessageTime
14 Nov 2025
@not-jack:matrix.orgnot-jackoops, fixed it 12:12:25
@sternenseemann:systemli.orgsterni
> time git push origin HEAD:refs/heads/haskell-updates
…
real	5m4.842s

interesting

21:37:51
@leona:leona.isleonagithub currently really struggles with NIxpkgs' size21:42:18
@sternenseemann:systemli.orgsterniI think pretty okay, but you'll know more after https://hydra.nixos.org/eval/182019521:47:06
17 Nov 2025
@dandart:matrix.orgUraraka ~ Ochaco changed their profile picture.23:36:49
18 Nov 2025
@dandart:matrix.orgUraraka ~ Ochaco changed their profile picture.01:17:52
@dandart:matrix.orgUraraka ~ Ochaco changed their profile picture.01:23:21
@dandart:matrix.orgUraraka ~ Ochaco changed their display name from Peri to Uraraka ~ Ochaco.05:23:28
19 Nov 2025
@alex:tunstall.xyzAlex Would any of the haskellPackages maintainers be interested in reviewing/merging this PR to add microhs package sets?
https://github.com/NixOS/nixpkgs/pull/460845
09:34:20
20 Nov 2025
@user12592851:matrix.orgJohn joined the room.04:57:16
@yzhyhalo:matrix.orgYevhen Zhyhalo joined the room.16:08:56
@magic_rb:matrix.redalder.orgmagic_rbanyone have any pointers for the cross compiling GHC itself issue? i would like to get some kind of GHC for armv6l if at all possible (would also help the riscv people)20:43:05
@alex:tunstall.xyzAlex
In reply to @magic_rb:matrix.redalder.org
anyone have any pointers for the cross compiling GHC itself issue? i would like to get some kind of GHC for armv6l if at all possible (would also help the riscv people)
Start from 9.4.
20:48:04
@alex:tunstall.xyzAlex9.4 can be done cross, >= 9.6 doesn't work (unless upstream fixed it?)20:48:28
@alex:tunstall.xyzAlex
In reply to @magic_rb:matrix.redalder.org
anyone have any pointers for the cross compiling GHC itself issue? i would like to get some kind of GHC for armv6l if at all possible (would also help the riscv people)

This repository builds GHC for RISC-V from an older commit of nixpkgs, but it should demonstrate how to do it.

https://github.com/AlexandreTunstall/nixos-riscv

20:49:57
@alex:tunstall.xyzAlex In particular, see modules/compilers/ghc.nix 20:50:40
@magic_rb:matrix.redalder.orgmagic_rbgoddamn armv6l-linux isnt even in the default cross set20:52:18
@magic_rb:matrix.redalder.orgmagic_rbthis will almost certainly go horribly, i doubt ghc even support armv6 officially20:54:53
@alex:tunstall.xyzAlexIt's possible that they used to but eventually dropped support for it.21:04:42
@magic_rb:matrix.redalder.orgmagic_rbIm currently building llvm, we'll see how much ghc explodes21:06:02
@magic_rb:matrix.redalder.orgmagic_rbArmv6 is ancient and i dont blame anyone for dropping it21:06:13
@alex:tunstall.xyzAlexOh, I might be confusing it with armv7l21:06:33
@magic_rb:matrix.redalder.orgmagic_rbArmv7l is old but less ancient21:06:45
@magic_rb:matrix.redalder.orgmagic_rbArmv7l actually is still supported by some stuff21:06:58
@magic_rb:matrix.redalder.orgmagic_rbsince im already talking about this in this room, anyone know how to conditionally override a package in an overlay when doing cross to a specific platform? I'd like to apply my overlay which cross boots GHC but only when crossing to armv6l-linux obviously21:23:55
@opna2608:matrix.orgPuna
In reply to @magic_rb:matrix.redalder.org
anyone have any pointers for the cross compiling GHC itself issue? i would like to get some kind of GHC for armv6l if at all possible (would also help the riscv people)
you could also bootstrap by packaging a ghc built by debian
21:43:03
@opna2608:matrix.orgPunaoh wait, v6... only if they have that one ig21:44:51
@magic_rb:matrix.redalder.orgmagic_rbi think itll build, its been building for 26 minutes now21:45:21
@magic_rb:matrix.redalder.orgmagic_rbwhether itll be funtional, who knows21:45:26
@magic_rb:matrix.redalder.orgmagic_rbif i want to upcompile to 984 id have to first go through 966 right? i recall something about them using extensions where are at least two minor releases old21:50:10

Show newer messages


Back to Room ListRoom Version: 6