!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

677 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 infrastructure134 Servers

Load older messages


SenderMessageTime
7 Nov 2025
@Ericson2314:matrix.orgJohn Ericson srk ⚡️: I think the PR is finally working! 19:43:35
@Ericson2314:matrix.orgJohn Ericson(the hnix-store one)19:44:10
@alexfmpe:matrix.orgalexfmpe
In reply to @b:chreekat.net
Didn't I hear from mpickering in some talk recently that profiling mode is almost never what you want nowadays? You already get a bunch of great stuff "for free", and then when you want more you still don't usually want -fprof. I could be remembering this all wrong though
I'm told that nowadays you can also get flamegraphs without profiling builds
20:02:09
@Ericson2314:matrix.orgJohn Ericson alexfmpe: you don't have perms on that library do you? :) 20:04:21
@alexfmpe:matrix.orgalexfmpeHuh? Which lib20:08:28
@maralorn:maralorn.demaralornYes, but they are often relatively useless when not all your dependencies are compiled with -finfo-table-map.20:09:20
@Ericson2314:matrix.orgJohn Ericson hnix-store 20:45:10
@emma:rory.gay@emma:rory.gay left the room.22:39:32
9 Nov 2025
@giladwo:matrix.orggiladwo joined the room.11:41:19
@mangoiv.:matrix.orgMangoIV

Yeah I know. :/

A third output maybe? Build multiple ones? Compression also improves it. Did you try it out with compression?

11:55:29
@maralorn:maralorn.demaralornI didn’t.12:20:04
@maralorn:maralorn.demaralornI think the way to go would be to first figure out a way to provide a third output and then at some point default the profiling output to off and the info table output to on.12:21:05
@9hp71n:matrix.orgghpzin (moved to @ghpzin:envs.net) changed their display name from ghpzin to ghpzin (moved to @ghpzin:envs.net).15:04:04
10 Nov 2025
@sternenseemann:systemli.orgsternicompression likely means incorrect reference tracking13:23:14
11 Nov 2025
@wolfgangwalther:matrix.orgWolfgang Walther cachix fails to build for darwin on staging-next and it's a blocker. https://hydra.nixos.org/build/312752225 12:40:45
@maralorn:maralorn.demaralornSeems to only need a restart? At least the log link forwards to a successful build.12:53:23
@wolfgangwalther:matrix.orgWolfgang WaltherIt does not for me.12:54:32
@wolfgangwalther:matrix.orgWolfgang Walther

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
12:54:50
@maralorn:maralorn.demaralornAh, I thought the lowest build is the most relevant.12:56:46
@maralorn:maralorn.demaralornWell, that error looks terrible.12:57:34
@maralorn:maralorn.demaralornHas domen been pinged about this?12:57:57
@wolfgangwalther:matrix.orgWolfgang Walther Domen Kožar 12:58:35
@wolfgangwalther:matrix.orgWolfgang WaltherYes.12:58:36
@oak:universumi.fioak 🏳️‍🌈♥️ changed their profile picture.19:20:20
@leona:leona.isleona joined the room.19:54:40
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 packagesets:

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:14:10
@alex:tunstall.xyzAlexRedacted or Malformed Event05:14:11
@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
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

There are no newer messages yet.


Back to Room ListRoom Version: 6