!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

Load older messages


SenderMessageTime
26 Dec 2025
@emilazy:matrix.orgemily you should say ghc910 rather than ghc9103 16:18:22
@magthe:tchncs.deMagnusIt's just than when doing overrides it's really nice to specify the exact version. Especially when we've in the past have been using several different minor versions in different projects that all share a common overlay.16:20:38
@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 (DECT 7881) 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
@noiobeforebedtime:winesj.comJack​fantastic!17:53:44
@sternenseemann:systemli.orgsternihttps://github.com/NixOS/nixpkgs/blob/3aebc5e7ae7ca5e3aac2fc33b2d7f5d6e601cfa6/pkgs/development/haskell-modules/make-package-set.nix#L732-L75217:54:19
@noiobeforebedtime:winesj.comJack​thank you very much. I'm doing compression and llvm made a huge performance difference, so now I'm very curious of extending it to dependencies will also affect it.17:55:00
@maralorn:maralorn.demaralornIs it even possible to link object files from different llvm and native backend?18:00:01
@sternenseemann:systemli.orgsterniyes18:00:41
@realnyte:matrix.orgNyte changed their display name from realnyte to Nyte.21:22:08
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
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.22:36:42
Room Avatar Renderer.22:46:20
@maralorn:maralorn.demaralorn changed the join rule to "public" from "public".22:54:26
@maralorn:maralorn.demaralorn changed the room topic to "For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/" from "For discussions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/".22:56:19
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.23:05:49
@pennae:matrix.eno.spacepennae joined the room.23:06:26
@justinrestivo:matrix.orgjustinrestivo joined the room.23:07:39
@srid:matrix.orgsrid joined the room.23:07:41
@_xmpp_qy=40xa0.uk:matrix.orgbqv joined the room.23:08:26
@_xmpp_qy=40xa0.uk:matrix.orgbqv changed their display name from qy to bqv.23:08:27
@_xmpp_qy=40xa0.uk:matrix.orgbqv changed their display name from bqv to qy.23:08:28

Show newer messages


Back to Room ListRoom Version: 6