!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

718 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.org143 Servers

Load older messages


SenderMessageTime
12 Nov 2025
@alex:tunstall.xyzAlex *

Hugs fix has landed, so now it's time for MicroHs from source: https://github.com/NixOS/nixpkgs/pull/460845

I went the extra mile to add package sets:

alex@alex-pc3 nix-shell:~/r/O/n/haskell-from-source (hfs-upstream-mhspkgs)> nom-build -A haskell.packages.microhs.mtl --no-out-link                         [1]
Finished at 03:59:30 after 0s
/nix/store/mg0j24dnpls8q3q1j1jxrh6rv55v4ras-mtl-2.3.1
alex@alex-pc3 nix-shell:~/r/O/n/haskell-from-source (hfs-upstream-mhspkgs)> nom-build -A haskell.packages.microhs-0_14_15_0.containers --no-out-link
Finished at 04:00:15 after 0s
/nix/store/iwnwf5dnazz49yjvph9kr1xxq9qc5br9-containers-0.8
05:22:35
@adestice:matrix.org@adestice:matrix.org left the room.06:04:26
@sternenseemann:systemli.orgsterni (he/him)
In reply to @wolfgangwalther:matrix.org

https://hydra.nixos.org/build/312752225/nixlog/2 fails with:

<no location info>: error:
    dlopen(/nix/store/anfq16cq9qki033324cl26w80ngn0ska-nix-2.28.5/lib/libnixexpr.dylib, 0x0005): Symbol not found: __ZN3nix14DerivedPathMapINSt3__13setINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS1_4lessIS8_EENS6_IS8_EEEEE10ensureSlotERKNS_17SingleDerivedPathE
  Referenced from: <10DA9305-529A-3BAA-AA45-0DCAF63275F0> /nix/store/anfq16cq9qki033324cl26w80ngn0ska-nix-2.28.5/lib/libnixexpr.dylib
  Expected as weak-def export from some loaded dylib
also cc Robert Hensing (roberth) likely something with the hercules-ci libs?
08:02:24
@sportshead:matrix.orgsportshead joined the room.22:52:34
@sportshead:matrix.orgsportsheadhi all, trying to get set up with yesod + nix on aarch64-darwin23:00:08
@sportshead:matrix.orgsportsheadcryptonite doesn't seem to be built on *-darwin for the cache, and i can't seem to build it23:00:54
@sportshead:matrix.orgsportsheadi gather from cryptonite-remove-argon2.patch that this package is known to be broken on aarch6423:02:56
@sportshead:matrix.orgsportsheadbut it seems like this is a different test failing, specifically the bcrypt one (build logs https://paste.sh/jvtE4FUv#wUu9BxI9ToF5uu7S5PfbxHjQ) 23:04:21
@sportshead:matrix.orgsportsheadwould the best course of action be to overlay and disable all the tests? is there an easy option to make a certain package not run tests?23:05:01
13 Nov 2025
@alex:tunstall.xyzAlex
In reply to @sportshead:matrix.org
would the best course of action be to overlay and disable all the tests? is there an easy option to make a certain package not run tests?

Nowadays, the answer can be found in the nixpkgs manual: https://nixos.org/manual/nixpkgs/stable/#haskell-overriding-haskell-packages

In particular, you are looking for haskell.lib.compose.dontCheck and perhaps also how to override packages in the haskell package sets (this part hasn't yet been migrated to the nixpkgs manual).

01:25:46
@alexfmpe:matrix.orgalexfmpehttps://github.com/kazu-yamamoto/crypton/issues/40#issuecomment-279124638802:41:19
@alexfmpe:matrix.orgalexfmpethis one isn't a darwin issue, I've hit it on multiple platforms02:41:51
@nolduakali:matrix.orgAri Ade Supriyatna changed their profile picture.06:09:43
@sportshead:matrix.orgsportsheadcool, thanks a lot!09:54:45
14 Nov 2025
@not-jack:matrix.orgnot-jack joined the room.09:53:55
@not-jack:matrix.orgnot-jack

Hey guys, anyone got experience with OpenGLRaw and nix + cabal ?
ailed to build OpenGLRaw-3.3.4.1. The failure occurred during the configure
step.
Build log (
/home/jack/.cache/cabal/logs/ghc-9.10.3/OpenGLRaw-3.3.4.1-dc503b4e7284f0eee398802f720e4ba2f415fba81f606c6ced321c4dbf3f959b.log
):
Configuring library for OpenGLRaw-3.3.4.1...
Error: [Cabal-4345]
Missing dependency on a foreign library:

  • Missing (or bad) C library: GL
09:54:39
@not-jack:matrix.orgnot-jack *

Hey guys, anyone got experience with OpenGLRaw and nix + cabal ?

ailed to build OpenGLRaw-3.3.4.1. The failure occurred during the configure
step.
Build log (
/home/jack/.cache/cabal/logs/ghc-9.10.3/OpenGLRaw-3.3.4.1-dc503b4e7284f0eee398802f720e4ba2f415fba81f606c6ced321c4dbf3f959b.log
):
Configuring library for OpenGLRaw-3.3.4.1...
Error: \[Cabal-4345\]
Missing dependency on a foreign library:

- Missing (or bad) C library: GL
09:54:46
@not-jack:matrix.orgnot-jack *

Hey guys, anyone got experience with OpenGLRaw and nix + cabal ?

failed to build OpenGLRaw-3.3.4.1. The failure occurred during the configure
step.
Build log (
/home/jack/.cache/cabal/logs/ghc-9.10.3/OpenGLRaw-3.3.4.1-dc503b4e7284f0eee398802f720e4ba2f415fba81f606c6ced321c4dbf3f959b.log
):
Configuring library for OpenGLRaw-3.3.4.1...
Error: \[Cabal-4345\]
Missing dependency on a foreign library:

- Missing (or bad) C library: GL
09:54:55
@not-jack:matrix.orgnot-jacklooked online and saw some non nix-y solutions but was wondering if there is a simple fix09:55:23
@sternenseemann:systemli.orgsterni (he/him)well you need to make libGL available is what the error tells you. How to do that depends on what exactly you're doing and what you're using which isn't totally clear from what you've stated.10:14:19
@maralorn:maralorn.demaralornbtw. what’s the state of our branch?10:18:11
@maralorn:maralorn.demaralornWow, hls broken again??10:20:23
@maralorn:maralorn.demaralornHuh, maybe it wasn’t fixed on staging-next and we didn’t notice.10:21:00
@maralorn:maralorn.demaralornThat would be more plausible.10:21:08
@not-jack:matrix.orgnot-jackoops, fixed it 12:12:25
@sternenseemann:systemli.orgsterni (he/him)
> 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.orgsterni (he/him)I think pretty okay, but you'll know more after https://hydra.nixos.org/eval/182019521:47:06
20 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".22:10:58
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".22:10:58

Show newer messages


Back to Room ListRoom Version: 6