!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

721 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.org145 Servers

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


SenderMessageTime
3 Apr 2025
@profpatsch:augsburg.oneProfpatschI guess that works14:28:46
@maralorn:maralorn.demaralornAccording to that we mainly build every ghc major release+hls on master and plenty more on haskell-updates.14:30:16
@alexfmpe:matrix.orgalexfmpeHuh so the darwin build is probably failing is that it?14:42:16
@maralorn:maralorn.demaralornOh, no.14:45:15
@maralorn:maralorn.demaralornI think because of reasons which I would largely summarize under "Apple" we currently don’t build for any darwin target on haskell-updates. 😄14:45:53
@maralorn:maralorn.demaralornThat was however a temporary mitigation for that fact that stuff was very fragged. I don’t know what would need to happen for us to re-enable them.14:47:05
@alex:tunstall.xyzAlex
In reply to @profpatsch:augsburg.one
Ah you mean in the cabal file?
The alternative, if you don't want to touch the Cabal file, is that you edit the cabal2nix output or override the package.
I think --ghc-options can be added to configureFlags?
14:49:31
@profpatsch:augsburg.oneProfpatschcabal file is fine15:03:05
@Las:matrix.orgLas
In reply to @cdepillabout:matrix.org
Maybe what you're thinking of is packageOverrides: https://haskell4nix.readthedocs.io/frequently-asked-questions.html#how-to-override-packages-in-all-compiler-specific-package-sets
So I would set it in my overlay, right?
15:40:53
@Las:matrix.orgLasthis is just what I wanted15:41:01
@alexfmpe:matrix.orgalexfmpe
In reply to @maralorn:maralorn.de
I think because of reasons which I would largely summarize under "Apple" we currently don’t build for any darwin target on haskell-updates. 😄
Ah yeah that was my assumption
16:56:00
@hellwolf:matrix.orghellwolf
       error: attribute 'doctest_0_23_0' missing
       at /nix/store/syfblaakf8gjh014zr3v0y6g72rcsipv-source/pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix:80:13:
           79|
           80|   doctest = self.doctest_0_23_0;
             |             ^
           81|
       Did you mean doctest_0_24_0?

when using haskell.packages.ghc912.haskell-language-server

20:00:18
@hellwolf:matrix.orghellwolfpatched locally, trying to build it now20:10:01
@maralorn:maralorn.demaralornProbably a good idea to do the recommended fix in nixpkgs. 😄20:10:10
@hellwolf:matrix.orghellwolf:) let's see if it builds, then I will send a PR20:10:42
@hellwolf:matrix.orghellwolf

fwiw,

``
$ git grep doctest_0_23_0
pkgs/development/haskell-modules/configuration-nix.nix: { inherit (super) doctest doctest_0_23_0; }
pkgs/development/haskell-modules/configuration-nix.nix: doctest_0_23_0;


Does it mean, we would build with different doctest for different ghc versions?
20:11:14
@hellwolf:matrix.orghellwolf *

fwiw,

$ git grep doctest\_0\_23\_0
pkgs/development/haskell-modules/configuration-nix.nix:      { inherit (super) doctest doctest\_0\_23\_0; }
pkgs/development/haskell-modules/configuration-nix.nix:    doctest\_0\_23\_0;

Does it mean, we would build with different doctest for different ghc versions?

20:11:50
@hellwolf:matrix.orghellwolf *

fwiw,

$ git grep doctest\_0\_23\_0
pkgs/development/haskell-modules/configuration-nix.nix:      { inherit (super) doctest doctest\_0\_23\_0; }
pkgs/development/haskell-modules/configuration-nix.nix:    doctest\_0\_23\_0;

Does it mean, we would build with different doctest for different ghc versions?

20:11:54

Show newer messages


Back to Room ListRoom Version: 6