!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

Load older messages


SenderMessageTime
2 Feb 2026
@hellwolf:matrix.orghellwolfyes, it builds locally. I will check it out how to update the file, or I will just remove it manually.13:01:06
@hellwolf:matrix.orghellwolf* yes, it builds locally. I will check it out to learn how to update the file, or I will just remove it manually.13:01:16
@hellwolf:matrix.orghellwolf* yes, it builds locally. I will learn how to update the file, or I will just remove it manually.13:01:22
@hellwolf:matrix.orghellwolf * yes, it builds locally on the haskell-updates branch. I will learn how to update the file, or I will just remove it manually. 13:01:37
@maralorn:maralorn.demaralornThere is no way to programatically remove a line from that file, that has to happen manually. We only add lines automatically.13:14:04
@hellwolf:matrix.orghellwolfshould I create a PR? since I can't push to haskell-updates.13:18:53
@maralorn:maralorn.demaralornYes, always!13:21:22
@sternenseemann:systemli.orgsterni (he/him)
In reply to @alexfmpe:matrix.org
I've noticed iserv-proxy is getting built for ghcjs even though it's not actually used
is it worth adding a && !isGhcjs to the "should we proxy TH" to save builds of network->iserv-wrapper ?
think so
13:27:16
@alexfmpe:matrix.orgalexfmpeI got that change stashed, can PR later today13:28:35
@alexfmpe:matrix.orgalexfmpeTechnically I expect it will also apply to wasm since these are always 'emulated' targets13:29:08
@alexfmpe:matrix.orgalexfmpeBut we'll generalise that bridge when we come to it13:29:39
@alexfmpe:matrix.orgalexfmpe* Technically I expect it should also apply to wasm since these are always 'emulated' targets13:29:51
@alexfmpe:matrix.orgalexfmpe* Technically I expect it should also apply to wasm (if/when we get it) since these are always 'emulated' targets13:30:32
@teoc:matrix.orgTeo (he/him)Is iserv-proxy rather than just plain iserv needed for these? I would've assumed that iserv-proxy isn't very helpful in nix since you can't access the network13:40:52
@sternenseemann:systemli.orgsterni (he/him)we need to execute it independently from ghc anyways since it needs to run under emulation14:52:41
@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

Show newer messages


Back to Room ListRoom Version: 6