!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

695 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 infrastructure138 Servers

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


SenderMessageTime
26 Dec 2025
@magthe:tchncs.deMagnus Very strange... I seem to have gotten a broken hash or something, because a 2nd nix flake update updated the hash again... and now 9.10.3 is there. I guess it was a blip. Very strange. 16:23:18
@magthe:tchncs.deMagnus * Very strange... I seem to have gotten a broken hash or something, because a 2nd nix flake update updated the hash again... and now 9.10.3 is there. I guess it was a blip. 🤷‍♂️ 16:24:42
@noiobeforebedtime:winesj.comJack​Hi everyone. Thanks for all the work you do. Is there a nice way to force GHC to use the llvm backend in a similar way to pkgs.pkgsLLVM? I've noticed that if you dig in in the repl at `nixpkgs#haskell.compliler.ghc914.llvmPackages' it has what looks like a set "-fllvm"-satisfying dependencies.19:12:09
@noiobeforebedtime:winesj.comJack​

In short, I'm trying to override and use "-fllvm" for all my dependencies but I can't find a better way than:

          monad-par.extraBuildFlags = ["--ghc-options=-fllvm"];
          monad-par.extraPkgconfigDepends = [
          pkgs.llvmPackages_20.clang
          pkgs.llvmPackages_20.libllvm
          ]
          ;

for all of them

19:13:35
27 Dec 2025
@das-g:matrix.orgdas-g changed their display name from das-g to das-g (DECT 7881).13:21:37
@sternenseemann:systemli.orgsterni Jack​: you can use forceLlvmCodegenBackend from the package set you are working with. It should also be possible to apply this globally by overriding mkDerivation 17:53:25

Show newer messages


Back to Room ListRoom Version: 6