!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

710 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.orgsterni (he/him)
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.orgsterni (he/him)I 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 (he/him) 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.orgsterni (he/him)emphasis 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.orgsterni (he/him)it 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.orgsterni (he/him)sure02:23:58
@Ericson2314:matrix.orgJohn Ericsoni think the getting rid of the static overlay should be a fairly small thing04:12:43
@joe:monoid.aljoe (he/him)Redacted or Malformed Event05:48:17
@joe:monoid.aljoe (he/him) 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.aljoe (he/him)patch (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.aljoe (he/him)yeah, hopefully soon07:48:18
@joe:monoid.aljoe (he/him)oh, 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.aljoe (he/him)OK, in that case I'll pr against h-u and maser, (when is the branchoff?)07:51:56
@joe:monoid.aljoe (he/him) * 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
@joe:monoid.aljoe (he/him)

cdepillabout: https://github.com/NixOS/nixpkgs/pull/123990 and https://github.com/NixOS/nixpkgs/pull/123991

Thanks for the guidance

08:31:39
@maralorn:maralorn.demaralorn
In reply to @cdepillabout:matrix.org
Okay, if maralorn doesn't oppose this, I'll reach out to @rnhmjoj and see if he'd be willing to volunteer.
Static building seems great. Maintainers seem great. Go for all of it!
10:06:30
@jul1u5:matrix.orgjul1u5 joined the room.11:14:20
@evils.devils:matrix.orgevils joined the room.11:23:53
@evils.devils:matrix.orgevils left the room.11:44:35
@sternenseemann:systemli.orgsterni (he/him) John Ericson: on a different note, we probably should also stop pinning it to musl since glibc.static has been around for quite some time 12:31:42
@andi:kack.itandi- removed their profile picture.13:26:17
@barryfm:matrix.orgbarryfm joined the room.13:28:41

Show newer messages


Back to Room ListRoom Version: 6