!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

685 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 infrastructure136 Servers

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


SenderMessageTime
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.orgWolfgang Walther 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
@aidalgol:tchncs.de@aidalgol:tchncs.de joined the room.21:56:50
3 Sep 2025
@ghpzin:envs.netghpzin joined the room.09:31:07
@gefla:aber.netGerd Flaig joined the room.20:55:18
4 Sep 2025
@epimonic:matrix.orgepimonic joined the room.00:36:54
@aidalgol:tchncs.de@aidalgol:tchncs.de changed their display name from Aidan Gauland to aidalgol[m].11:23:25

Show newer messages


Back to Room ListRoom Version: 6