!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

697 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.org141 Servers

Load older messages


SenderMessageTime
15 Jul 2025
@ncfavier:matrix.orgnfamazing, thank you so much!11:33:49
@alexfmpe:matrix.orgalexfmpeWonder if we should add the ghc issue as an eval warning heh13:03:47
@ncfavier:matrix.orgnf maybe we could just add that to the default cabal flags if stdenv.hostPlatform.isGhcjs or something 13:55:13
@alexfmpe:matrix.orgalexfmpeif it's morally a "ghc backport" I agree14:44:10
@alexfmpe:matrix.orgalexfmpeotherwise it can get weird if upstream is injecting ld-options and what not for you14:44:32
@alexfmpe:matrix.orgalexfmpesilently14:44:37
@maralorn:maralorn.demaralornThe major problem with ld-options is that they override preconfigured ld-options.15:23:30
@maralorn:maralorn.demaralornWhich is no problem for the js backend because it currently has none.15:23:46
@maralorn:maralorn.demaralornBut in general they are mainly meant for ghc devs for debugging purposes and bgamari dislikes the fact that they are exposed via cabal options.15:24:41
@ncfavier:matrix.orgnf *

has anyone seen this error before with the GHC JS backend?

Aborted('HEAP8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the Emscripten FAQ))
16:06:43
16 Jul 2025
@ncfavier:matrix.orgnf

Is this the blessed way to write an overlay that adds a package foo to all Haskell package sets, without undoing previous overlays? If so, should we add it to the manual?

final: prev: {
  haskell = prev.haskell // {
    packageOverrides = final.lib.composeExtensions prev.haskell.packageOverrides
      (hfinal: hprev: {
        foo = ...;
      });
  };
}
15:13:51
@ncfavier:matrix.orgnf *

Is this the blessed way to write an overlay that adds a package foo to all Haskell package sets, without undoing previous overlays? If so, should we add it to the manual? If not, what is?

final: prev: {
  haskell = prev.haskell // {
    packageOverrides = final.lib.composeExtensions prev.haskell.packageOverrides
      (hfinal: hprev: {
        foo = ...;
      });
  };
}
15:15:17
@maralorn:maralorn.demaralornlgtm15:16:00
@sternenseemann:systemli.orgsterni (he/him)https://www.haskell.org/ghc/blog/20250702-ghc-release-schedules.html22:38:21
@maralorn:maralorn.demaralornYeah. I am wondering what that’s gonna mean for stackage LTS.23:08:20
17 Jul 2025
@kubitess:matrix.orgkubitess joined the room.11:57:34
18 Jul 2025
@dmjio:matrix.org@dmjio:matrix.org set a profile picture.00:21:22
@dmjio:matrix.org@dmjio:matrix.org left the room.14:28:22
19 Jul 2025
@prsteele:matrix.orgPatrick Steele Indeed, cabal run --enable-profiling myprog -- +RTS -p worked 21:07:44
@prsteele:matrix.orgPatrick Steele without modification to the cabal file, i.e. no -prof 21:08:05
20 Jul 2025
@profpatsch:augsburg.oneProfpatsch gonna switch to 9.14 and never update again13:11:26
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

Show newer messages


Back to Room ListRoom Version: 6