!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

723 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
25 Feb 2025
@noonvandersilk:matrix.orgsilkycheers; i'm trying too just waiting on a large rebuild i guess 😅14:03:04
@maralorn:maralorn.demaralornHuh, so the th-desugar in haskell-updates is 1.1614:03:58
@maralorn:maralorn.demaralornWhich does not claim to be compatible with ghc 9.10.14:04:17
@maralorn:maralorn.demaralornDoesn’t mean it can’t work, but it seems unlikely.14:04:38
@noonvandersilk:matrix.orgsilkytrue good point14:05:11
@noonvandersilk:matrix.orgsilkyi'm trying with 1.18 now14:05:15
@noonvandersilk:matrix.orgsilkytrying to see if that gave a different error14:05:22
@maralorn:maralorn.demaralornSo you either need to manually use a newer th-desugar version or an older ghc. Because template-haskell is fix coupled with ghc and and th-sugar is probably tightly coupled with template-haskell (although the later is just a guess.)14:05:54
@noonvandersilk:matrix.orgsilkythank you for the help14:40:31
@noonvandersilk:matrix.orgsilkyi think i got it in the end14:40:35
@noonvandersilk:matrix.orgsilkyby just bumping a bunch of singleton-related versions14:40:43
@noonvandersilk:matrix.orgsilkyah so close15:50:57
@noonvandersilk:matrix.orgsilky

entered some sadness with ghc-wasm:

Error: [Cabal-7125]
Failed to build singletons-base-3.4 (which is required by ...). The failure occurred during the configure step. The exception was:
  /home/noon/.ghc-wasm/.cabal/logs/ghc-9.10.1.20250207/singletons-base-3.4-f3aa7555e520c8470979569ce097df6af6508fd93104b96da2ec393093efd4b0.log: withFile: user error (Error: cabal:
'/nix/store/ydi7xc4mpplmbwpb4v72wyqmsq8fcdga-wasm32-wasi-ghc-9.10/bin/wasm32-wasi-ghc'
exited with an error:
wasm-ld: error: unable to find library -lHSrts-1.0.2_thr

15:51:29
@noonvandersilk:matrix.orgsilkyinteresting - https://discourse.haskell.org/t/issue-compiling-cabal-library-to-wasm/10073/2?u=silky15:52:20
@noonvandersilk:matrix.orgsilkywhy is it always singletons it seems 😅😅😅😅15:53:01
28 Feb 2025
@box1:matrix.org@box1:matrix.org set a profile picture.06:23:09
@box1:matrix.org@box1:matrix.org changed their display name from sepiabrown to Suwon Park.06:23:34
@box1:matrix.org@box1:matrix.org removed their profile picture.06:29:06
@box1:matrix.org@box1:matrix.org removed their display name Suwon Park.06:31:02
@sepiabrown:matrix.orgSuwon Park set a profile picture.06:32:14
2 Mar 2025
@tiberose:nope.chattiberose joined the room.13:41:31
@joaomoreira:matrix.orgJoão MoreiraAny work on making ghc 9.10 default? Or at least vetting ghcPackages that don't build on it?15:27:54
@maralorn:maralorn.demaralornYes, the good folks over at stackage are currently curating the Stackage Nightly package set with GHC 9.10. As soon as they release that as Stackage LTS, we will follow that. However I expect this to take probably another half year.15:42:50
@maralorn:maralorn.demaralornNot, sure what you mean with "vetting". Some people are working on fixing builds for ghc 9.10 and 9.12 in nixpkgs and we have limited test coverage for that.15:43:53
@joaomoreira:matrix.orgJoão Moreira
In reply to @maralorn:maralorn.de
Not, sure what you mean with "vetting". Some people are working on fixing builds for ghc 9.10 and 9.12 in nixpkgs and we have limited test coverage for that.
I meant to veto a package, to mark the package as wontBuild on 9.10 or something like that.
15:49:32
@maralorn:maralorn.demaralornWe generally don’t do that. We mark packages as broken when they are broken on the default. We don’t maintain that information per ghc version.16:00:38
@alexfmpe:matrix.orgalexfmpeAlso, a lot of packages already build for 9.10 on the current LTS. Have you run into some of your dependencies not building? If it's just a few it's usually worth overriding locally until it works, then upstreaming those overrides to nixpkgs so you get cached builds etc16:36:57
4 Mar 2025
@tannerh:matrix.orgtannerh joined the room.01:19:44
@tannerh:matrix.orgtannerhHey! Having trouble with xmonad on nixos: https://discourse.nixos.org/t/system-with-minimal-xmonad-configuration-fails/61126 Can anyone point me in the right direction?01:20:25
@alex:tunstall.xyzAlex

Are you sure you want both config and enableConfiguredRecompile?

For that to work properly, you might need to implement your own restart key binding.

01:57:22

Show newer messages


Back to Room ListRoom Version: 6