!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

736 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.org147 Servers

Load older messages


SenderMessageTime
2 Feb 2026
@teoc:matrix.orgTeo (he/him)Sure but isn't that just iserv running under an emulator, does it need to go via a network?14:55:09
@sternenseemann:systemli.orgsterni (he/him) no, but can 15:03:42
@teoc:matrix.orgTeo (he/him)Ah fair enough then15:04:20
@hellwolf:matrix.orghellwolfhttps://github.com/NixOS/nixpkgs/pull/486303 & https://github.com/NixOS/nixpkgs/pull/486009 15:17:52
@sternenseemann:systemli.orgsterni (he/him) teo (they/he): you’ll have to ask alexfmpe why exactly but I assume iserv proxy is something that is proven to work for this use case already 15:26:57
@alexfmpe:matrix.orgalexfmpewell, you can still access localhost (though in darwin you either need to disable sandbox or add a magical attribute to the derivation)15:37:30
@alexfmpe:matrix.orgalexfmpe it doesn't, and IIUC angerman has plans to make it not do that 15:38:21
@alexfmpe:matrix.orgalexfmpeultimately I just grabbed what haskell.nix uses and shoved it into nixpkgs15:38:45
@alexfmpe:matrix.orgalexfmpeconsider it more of a "upstreamed some of the stuff working over there" than "this is how it should be done"15:39:12
@alexfmpe:matrix.orgalexfmpein particular, I think GHC 10.0 is going to change things a bit with the on-demand external interpreter15:39:35
@teoc:matrix.orgTeo (he/him)Sure that makes sense!15:39:37
@teoc:matrix.orgTeo (he/him)Yeah that is quite nice! and is basically just automatically building iserv15:40:02
@alexfmpe:matrix.orgalexfmpethere's also a lot of miscelanous changes only present in a particular branch of iserv-proxy15:40:33
@alexfmpe:matrix.orgalexfmpehttps://github.com/stable-haskell/iserv-proxy/pull/115:40:36
@alexfmpe:matrix.orgalexfmpeas for iserv, I have no idea where it went after 9.615:40:43
@alexfmpe:matrix.orgalexfmpehttps://github.com/NixOS/nixpkgs/pull/445672#discussion_r243021457015:41:49
@teoc:matrix.orgTeo (he/him) It lives here https://gitlab.haskell.org/ghc/ghc/-/tree/ghc-9.10/utils/iserv?ref_type=heads but doesn't exist on master since we now use the on demand stuff 15:44:33
@teoc:matrix.orgTeo (he/him)iserv-proxy also used to be in the ghc tree but got moved out a while ago15:44:57
@teoc:matrix.orgTeo (he/him)Basically before 10.0, the way to get iserv was to have it bundled with GHC15:58:45
@ashinnv:matrix.orgGOD EMPEROR MAYHEM - OVERSEER OF ENTROPY AND THE SECOND LAW changed their display name from m to GOD EMPEROR MAYHEM - OVERSEER OF ENTROPY AND THE SECOND LAW.20:38:30
3 Feb 2026
@alex:tunstall.xyzAlex This seems to be caused by the unregisterised backend.
I haven't tried an unregisterised native build, but disabling unregisterised "fixed" the build, at the cost of producing segfaulting binaries.
I tried adding -std=gnu17 and even -std=gnu99 to EXTRA_CC_ARGS but I'm still getting errors related to the -std=gnu23 default, so I'm not sure what I'm missing here.
01:12:03
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