!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

730 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.org146 Servers

Load older messages


SenderMessageTime
14 Oct 2024
@emilazy:matrix.orgemily
In reply to @maralorn:maralorn.de
Huh, I guess we need to lobby ghchq to bump to 10 before 9.20. 😄
(hey, another reason to ditch those old GHCs before they collide, no? :p )
20:14:41
@maralorn:maralorn.demaralorn
In reply to @emilazy:matrix.org
(hey, another reason to ditch those old GHCs before they collide, no? :p )
I think even having the same attribute used for a completely different version in living memory would be a sin.
20:15:47
@maralorn:maralorn.demaralornJust in: New deprecation policy remove old versions when the version number collides with a new release.20:16:50
@maralorn:maralorn.demaralorn"Version number, you had on job!" 🤦20:18:11
@maralorn:maralorn.demaralorn * 20:18:23
@maralorn:maralorn.demaralornI mean I guess incorrect uses of Monoid instances is kinda a theme in the Haskell world...20:19:28
@rosscomputerguy:matrix.orgTristan RossJust don't package multiple patch releases heh, it's what we do for Flutter so we can have 3.24 be `flutter324`.20:22:52
@alexfmpe:matrix.orgalexfmpe3.24 or 32.4 ?20:49:14
@alexfmpe:matrix.orgalexfmpeEven if humans can tell by context, that will wreak havok on automation20:50:12
@maralorn:maralorn.demaralornWell, we are already kinda paying that price. otoh its not super terrible, because normally in code you can just access ghc.version which is properly formatted20:57:54
@rosscomputerguy:matrix.orgTristan Ross
In reply to @alexfmpe:matrix.org
3.24 or 32.4 ?
3.24 because the minor version has always been 2 digits afaik
21:11:02
@alexfmpe:matrix.orgalexfmpeI guess it works fine until 99.9921:12:16
@rosscomputerguy:matrix.orgTristan RossYeah lol21:14:04
@rosscomputerguy:matrix.orgTristan RossIf it works, it works21:14:12
@sternenseemann:systemli.orgsterni (he/him)
In reply to @emilazy:matrix.org
FWIW, pkg-name_ver_sion is the Nixpkgs standard
well, those attributes predate any sort of established standard for anything in nixpkgs
21:55:20
@sternenseemann:systemli.orgsterni (he/him) honestly the only realistic scenario for a collision has been introduced by our own maralorn since the ghc{MAJOR}{MINOR} could feasibly collide with ghc{MAJOR}{MINOR}{PATCH} as soon as MINOR reaches the double digits 21:56:41
@sternenseemann:systemli.orgsterni (he/him)So maybe we should remove that or relegate them to the realm of aliases :p21:56:56
@sternenseemann:systemli.orgsterni (he/him)
In reply to @hellwolf:matrix.org
maybe that would be the right timing for cleaning up this technical debt?
the “technical debt” is a public API of nixpkgs that production code depends on
21:57:42
@sternenseemann:systemli.orgsterni (he/him) emily: I don't think we have the bandwidth at the moment to deal with the 8.10 question in time for 24.11, to be honest 21:58:50
@rosscomputerguy:matrix.orgTristan RossYeah, I think we're a bit too far into 24.11 for certain things 21:59:56
@rosscomputerguy:matrix.orgTristan RossMaybe post release would be a good time?22:00:23
@sternenseemann:systemli.orgsterni (he/him)Yeah, seems like a decent idea. Then we can figure out what to nuke and whether to do it in 25.05 or 25.1122:01:42
@rosscomputerguy:matrix.orgTristan RossYeah 22:03:49
@rosscomputerguy:matrix.orgTristan RossI was thinking we can at least get a survey out now and give it a few months to collect 22:04:10
@rosscomputerguy:matrix.orgTristan RossI'm not sure what the influx of responses would be.22:04:33
@rosscomputerguy:matrix.orgTristan RossSo maximizing the possible amount of responses would be good so we deal with the least amount of pain .22:05:17
@emilazy:matrix.orgemily
In reply to @sternenseemann:systemli.org
emily: I don't think we have the bandwidth at the moment to deal with the 8.10 question in time for 24.11, to be honest
I was hoping that a summary post / survey could be linked in the release notes before 24.11 release so that it reaches as many people as possible
22:12:46
@emilazy:matrix.orgemilynot that the data would be collected / a decision made by then :)22:12:52
@maralorn:maralorn.demaralorn
In reply to @sternenseemann:systemli.org
the “technical debt” is a public API of nixpkgs that production code depends on
I think there is a way to phase them out which won’t actually need a migration by anyone, it will just take a while.
23:01:28
@maralorn:maralorn.demaralornStep 1. Provide underscored aliases for everything.23:01:47

Show newer messages


Back to Room ListRoom Version: 6