!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

702 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
22 May 2021
@sternenseemann:systemli.orgsterniexcited for the pkgsStatic fix though, we probably should add a job of that to our jobset as well, so we can monitor it and also have some binary cache02:07:08
@cdepillabout:matrix.orgcdepillabout Oh, also, how would you guys feel about adding something like pkgsStatic.haskellPackages.something to our Hydra jobset? This would prove that statically linking Haskell programs is at least minimally working. 02:07:16
@cdepillabout:matrix.orgcdepillaboutOh, haha, I guess we were thinking the exact same thing.02:07:25
@sternenseemann:systemli.orgsterniI think it is important to make it viable in the first place -- no fun using that feature if you first have to compile GHC02:07:47
@cdepillabout:matrix.orgcdepillaboutAlthough I think we should try to get someone to volunteer to be a maintainer for it. Possibly @rnhmjoj or @nh2. I imagine fixing it might mean actually fixing the underlying static-linking machinery more than just Haskell-related stuff.02:08:32
@cdepillabout:matrix.orgcdepillabout
In reply to @sternenseemann:systemli.org
We may have to repeat that in a few days or so -- staging-next is planned to be merged tomorrow

Ah, then I guess I should merge in master again tomorrow.

BTW, how do you follow the status of when staging-next will be merged in?

02:09:41
@sternenseemann:systemli.orgsterniwell I'm subscribed to the PR again now, I think jon commented it today that that is the plan02:14:37
@sternenseemann:systemli.orgsterniI think the best source of information is really searching staging next in the pull request view and reading through the discussion02:14:57
@sternenseemann:systemli.orgsterni
In reply to @cdepillabout:matrix.org
Although I think we should try to get someone to volunteer to be a maintainer for it. Possibly @rnhmjoj or @nh2. I imagine fixing it might mean actually fixing the underlying static-linking machinery more than just Haskell-related stuff.
if no one does it, I guess I can volunteer, but I don't expect this to frequently break tbh
02:15:27
@sternenseemann:systemli.orgsterniI guess it may break when we finally refactor pkgsStatic, but apart from that it is fairly stable I'd hope02:16:01
@cdepillabout:matrix.orgcdepillaboutMy understanding is that when nh2 was working on https://github.com/nh2/static-haskell-nix, he would constantly have problems with static-linking breaking for various reasons. Although I'm not very familiar with it, so maybe it has stabalized, or my understanding is just incorrect.02:20:19
@cdepillabout:matrix.orgcdepillabout
In reply to @sternenseemann:systemli.org
I guess it may break when we finally refactor pkgsStatic, but apart from that it is fairly stable I'd hope
Oh, is there some sort of refactoring coming to pkgsStatic?
02:21:02
@sternenseemann:systemli.orgsterni it is currently based on an overlay being injected by default and John Ericson wants to get rid of that at some point 02:22:20
@sternenseemann:systemli.orgsterniemphasis on the at some point, no idea at which point someone will have the time and energy to work on that02:22:38
@cdepillabout:matrix.orgcdepillaboutAh, I see02:22:48
@sternenseemann:systemli.orgsterniit probably requires some substantial reworking of stdenv and how platforms work02:22:54
@cdepillabout:matrix.orgcdepillabout
In reply to @sternenseemann:systemli.org
if no one does it, I guess I can volunteer, but I don't expect this to frequently break tbh
Okay, if maralorn doesn't oppose this, I'll reach out to @rnhmjoj and see if he'd be willing to volunteer.
02:23:45
@sternenseemann:systemli.orgsternisure02:23:58
@Ericson2314:matrix.orgJohn Ericsoni think the getting rid of the static overlay should be a fairly small thing04:12:43
@joe:monoid.aljoeRedacted or Malformed Event05:48:17
@joe:monoid.aljoe cdepillabout: RE https://github.com/NixOS/nixpkgs/pull/123354 the patch to fix things (in hnix (for which I'm a maintainer)) is tiny, I'd rather fix this by adding a patch to hnix, is that OK? 07:46:15
@joe:monoid.aljoepatch (and test): https://github.com/haskell-nix/hnix/pull/936/files07:46:21
@cdepillabout:matrix.orgcdepillabout joe: Yeah, that seems reasonable. Just be sure to link to the patch upstream in a comment in the .nix file and also add that the patch can probably be removed on the next hnix release (which I'm guessing would be true?) 07:48:06
@joe:monoid.aljoeyeah, hopefully soon07:48:18
@joe:monoid.aljoeoh, should this be against haskell-updates or master?07:48:35
@cdepillabout:matrix.orgcdepillabout I guess both, really. We won't merge haskell-updates into master again before the branch-off, so you'll need to update haskell-updates as well as then backport it to either master or release-21.05. 07:49:51
@joe:monoid.aljoeOK, in that case I'll pr against h-u and maser, (when is the branchoff?)07:51:56
@joe:monoid.aljoe * OK, in that case I'll pr against h-u and master, (when is the branchoff?)07:52:09
@cdepillabout:matrix.orgcdepillaboutI think the branch off was supposed to be yesterday, but I'm not sure what happened. I assume it will be soon though.07:58:21
@charlotte:vanpetegem.mechvp joined the room.08:15:55

Show newer messages


Back to Room ListRoom Version: 6