!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

717 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 infrastructure141 Servers

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


SenderMessageTime
1 Sep 2025
@artem.types:matrix.orgArtemregarding https://github.com/NixOS/nixpkgs/pull/429810#issuecomment-3242423178 it's curious that the test suite hangs on "network client and server" (the last line) Something about network configuration on hydra machines?..13:46:14
@sternenseemann:systemli.orgsternieither that or related to load on those machines, hard to tell13:47:34
@sternenseemann:systemli.orgsterniI'll ask if they changed anything recently13:48:18
@sternenseemann:systemli.orgsternimaybe someone should try with Nix, I've used Lix13:50:14
@sternenseemann:systemli.orgsterniokay third time's the charm14:08:22
2 Sep 2025
@bglgwyng:matrix.orgbglgwyng

I've patched glib package and got this message during build

> Running phase: setupCompilerEnvironmentPhase
> Build with /nix/store/j7jc5k1l70axsk8s3zi9m4d0q23w3asp-ghc-9.10.1.
> Running phase: unpackPhase
> unpacking source archive /nix/store/13z7zgx0h4cyjm9ddf7i39d7xr3q72wy-glib-0.13.12.0.tar.gz
> source root is glib-0.13.12.0
> setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file "glib-0.13.12.0/System/Glib/Utils.chs"
> Running phase: patchPhase
> Running phase: compileBuildDriverPhase
> setupCompileFlags: -package-db=/build/tmp.a1u8Em0pDC/setup-package.conf.d -threaded
> [1 of 2] Compiling Main             ( Setup.hs, /build/tmp.a1u8Em0pDC/Main.o )
> Setup.hs:5:1: error: [GHC-45102]
>     Ambiguous module name ‘Gtk2HsSetup’.
>     it was found in multiple packages:
>     gtk2hs-buildtools-0.13.12.0 gtk2hs-buildtools-0.13.12.0

I think it's somewhat related to Setup.hs executing during install, but I have no clue how to inspect this more. Does anyone know this issue?

11:03:49
@wolfgangwalther:matrix.org@wolfgangwalther:matrix.org joined the room.12:10:07
@sternenseemann:systemli.orgsterni bglgwyng: what does patched mean here? 12:11:25
@sternenseemann:systemli.orgsterni Wolfgang Walther: hi :) 12:11:38
@bglgwyng:matrix.orgbglgwyng I did glib = callCabal2Nix ./glib-x.y.z {...} thing. I'm using haskell-flake so the code is different but the result would be so. 12:14:43
@sternenseemann:systemli.orgsternii guess you should first rule out that you have multiple gtk2hs-buildtools derivations in the build environment12:24:38

Show newer messages


Back to Room ListRoom Version: 6