!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

733 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.org147 Servers

Load older messages


SenderMessageTime
28 Jan 2026
@locallycompact-github:matrix.orgDaniel FirthIt would basically be a wholly independent package set. It might reuse the ghc definition but nothing else.12:01:42
@locallycompact-github:matrix.orgDaniel FirthSure. I'll write it up.12:01:46
@toonn:matrix.orgtoonn What is the goal? Are there existing dependents that would be desirable to package for users? 12:03:40
@toonn:matrix.orgtoonn End-users, not developer-users. 12:03:54
@locallycompact-github:matrix.orgDaniel Firth The goal is to package cardano-node for end users yes, not developers. But maintaining the build plan for cardano-node manually in nixpkgswith overrides and whatnot would be infeasible. 12:05:21
@locallycompact-github:matrix.orgDaniel Firth Occasionally dropping a new horizon expression as a separate package set expression into nixpkgs, one that didn't interfere with haskellPackages proper, would be quite easy for me to automate, it just depends whether that's OK or not. 12:08:34
29 Jan 2026
@alexfmpe:matrix.orgalexfmpe

when using pkgsStatic on my aarch64-darwin, most packages correctly build only the .o

$ nix-build -A pkgsStatic.haskell.packages.ghc910.these
Building library for these-1.2.1...
[1 of 3] Compiling Data.Functor.These ( src/Data/Functor/These.hs, dist/build/Data/Functor/These.o )

however there's a few odd ones where .dyn_o is also attempted

$ nix-build -A pkgsStatic.haskell.packages.ghc910.deferred-folds
Building library for deferred-folds-0.9.18.7...
[ 1 of 11] Compiling DeferredFolds.Prelude ( library/DeferredFolds/Prelude.hs, dist/build/DeferredFolds/Prelude.o, dist/build/DeferredFolds/Prelude.dyn_o )

$ nix-build -A pkgsStatic.haskell.packages.ghc910.constraints-extras
Building library for constraints-extras-0.4.0.2..
[1 of 4] Compiling Data.Constraint.Compose ( src/Data/Constraint/Compose.hs, dist/build/Data/Constraint/Compose.o, dist/build/Data/Constraint/Compose.dyn_o )

$ nix-build -A pkgsStatic.haskell.packages.ghc910.language-nix
Building library for language-nix-2.3.0...
[1 of 4] Compiling Language.Nix.Identifier ( src/Language/Nix/Identifier.hs, dist/build/Language/Nix/Identifier.o, dist/build/Language/Nix/Identifier.dyn_o )

unsurprisingly, these all fail with Failed to load dynamic interface file for <import>

01:25:46
@alexfmpe:matrix.orgalexfmpe but where are these random .dyn_o coming from? 01:26:03
@alexfmpe:matrix.orgalexfmpe

we're passing both

 --disable-shared
 --disable-executable-dynamic
01:27:58
@alexfmpe:matrix.orgalexfmpethese / language-nix got pretty much the same configureFlags, save for the package-db01:39:34
@alexfmpe:matrix.orgalexfmpe
diff these.flags language-nix.flags
3c3
<  --prefix=/nix/store/2p9mikrs1a5awxgw5gijxf3pqdfwbx72-these-static-arm64-apple-darwin-1.2.1
---
>  --prefix=/nix/store/x7msfranpbk5bpjk9mk22jh56m2yz235-language-nix-static-arm64-apple-darwin-2.3.0
7c7
<  --package-db=/nix/var/nix/builds/nix-3587-2546165707/tmp.EqliYPG7Mk/package.conf.d
---
>  --package-db=/nix/var/nix/builds/nix-95530-279909260/tmp.E7z4UnZFfa/package.conf.d
01:39:37
@alexfmpe:matrix.orgalexfmpecuriously I can trigger the same by enabling haddocks for pkgsStatic, but for a different set of packages02:02:00
@jboy:utwente.io@jboy:utwente.io left the room.10:57:31
@mrjtjmn:matrix.orgMrjt. changed their profile picture.11:11:24
@ashinnv:matrix.orgm changed their display name from GOD EMPEROR MAYHEM - OVERSEER OF ENTROPY AND THE SECOND LAW to m.18:47:46
30 Jan 2026
@juhp:matrix.orgJens Petersen joined the room.10:17:18
@sternenseemann:systemli.orgsterni (he/him) Alex: https://hydra.nixos.org/build/320163473 13:59:22
@alex:tunstall.xyzAlexI will take a look tonight.14:51:23
31 Jan 2026
@sternenseemann:systemli.orgsterni (he/him) alexfmpe: https://hydra.nixos.org/build/320785285 12:03:02
@alexfmpe:matrix.orgalexfmpeoooh they finally did a new release after almost 2 years19:27:27
@alexfmpe:matrix.orgalexfmpehttps://github.com/NixOS/nixpkgs/pull/48570619:27:28
@alexfmpe:matrix.orgalexfmpe I've noticed iserv-proxy is getting built for ghcjs even though it's not actually used
is it worth adding a && !isGhcjs to the "should we proxy TH" to save builds of network->iserv-wrapper ?
19:31:21
@alexfmpe:matrix.orgalexfmpe * I've noticed iserv-proxy is getting built for ghcjs even though it's not actually used
is it worth adding a && !isGhcjs to the "should we proxy TH" to save builds of network->iserv-proxy ?
21:17:28
@nathan0x28a:matrix.orgnathan0x28A joined the room.23:31:59
1 Feb 2026
@sigmasquadron:matrix.orgFernando Rodrigues changed their display name from SigmaSquadron to Fernando Rodrigues.10:41:50
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
@grahamc:nixos.org@grahamc:nixos.org invited @maralorn:maralorn.demaralorn.22:11:05
@maralorn:maralorn.demaralorn joined the room.22:11:13
@andi:kack.itandi- joined the room.22:30:49

Show newer messages


Back to Room ListRoom Version: 6