!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

703 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 infrastructure139 Servers

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


SenderMessageTime
12 Sep 2025
@alex:tunstall.xyzAlex
In reply to @jean-paul.:matrix.org
nope, Linux - but CircleCI

Just guessing, but is it because the kernel has IPv6 disabled via sysctl or perhaps even via kconfig?

Nix builds are sensitive to the host kernel.

22:17:23
13 Sep 2025
@oak:universumi.fioak 🏳️‍🌈♥️ changed their profile picture.09:46:10
@teoc:matrix.orgteo (they/he)I know the nixpkgs build of GHC edits the settings file, so I wanted to give y'all a heads up that the ghc-toolchain line of work is replacing the settings file, so it's likely that you'll need to make some changes here. See: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/1450013:48:05
@teoc:matrix.orgteo (they/he)* I know the nixpkgs build of GHC edits the settings file, so I wanted to give y'all a heads up that the ghc-toolchain line of work is replacing the settings file, so it's likely that you'll need to make some changes here. See: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/1455413:48:56
@jean-paul.:matrix.orgjean-paul.Seems likely I guess. I don't know how to learn about CircleCI's kernel configuration. Annoyingly, zlib test suite also fails. Seems like that should be less sensitive to the kernel but 🤷14:45:54
@jean-paul.:matrix.orgjean-paul.I assume more folks than me want to use Nix on CircleCI14:46:10
@sternenseemann:systemli.orgsterniNow I'm scared about arithmetic regressions in 9.10.3… https://github.com/Bodigrim/arithmoi/issues/22314:58:30
@sternenseemann:systemli.orgsterniso far nothings else like that happened, though14:59:08
@validitymaiden:matrix.orgvaliditymaiden joined the room.17:21:40
@validitymaiden:matrix.orgvaliditymaiden set a profile picture.17:31:40
@validitymaiden:matrix.orgvaliditymaiden changed their profile picture.17:32:21
@sternenseemann:systemli.orgsterniwas nothing apparently22:07:02
14 Sep 2025
@ret2pop:matrix.nullring.xyzret2pop joined the room.03:18:20
@emma:rory.gay@emma:rory.gay joined the room.08:39:56
15 Sep 2025
@bglgwyng:matrix.orgbglgwyng Can we override argument passed to cabal2nix result with haskellPackages.override?
For example, if I want to replace native zlib used by haskell package zlib, I can use overrideCabal to modify librarySystemDepends.
However, is it possible to just override the value passed to cabal2nix, which is a lambda with arguments { mkDervation, base, ..., zlib}?
03:38:50
@alex:tunstall.xyzAlex
In reply to @bglgwyng:matrix.org
Can we override argument passed to cabal2nix result with haskellPackages.override?
For example, if I want to replace native zlib used by haskell package zlib, I can use overrideCabal to modify librarySystemDepends.
However, is it possible to just override the value passed to cabal2nix, which is a lambda with arguments { mkDervation, base, ..., zlib}?
cabal2nix produces a Nix script. If you mean overriding what gets passed to that script when you use callCabal2nix or callPackage then the answer is yes: put it in the attrset argument.
03:44:27
@alex:tunstall.xyzAlex overrideCabal also works as with any other Haskell package because cabal2nix uses the same builder. 03:46:00

Show newer messages


Back to Room ListRoom Version: 6