!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

716 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/143 Servers

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


SenderMessageTime
1 Sep 2025
@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
@aidalgol:tchncs.de@aidalgol:tchncs.de joined the room.21:56:50
3 Sep 2025
@ghpzin:envs.net@ghpzin:envs.net 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