!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

256 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.100 Servers

Load older messages


SenderMessageTime
8 Oct 2024
@jade_:matrix.orgjade_and most of the time this hasn't affected us because we mostly left macOS code alone for reasons not unlike this reasonn23:41:56
@kfears:matrix.orgKFears (tragedy arc)
In reply to @jade_:matrix.org
well, sort of. it just makes it very brittle
The reason why I point this out is because I feel like anything like "tier 1 support" is big doubt if you can't install the daemon
23:42:45
@jade_:matrix.orgjade_i am suggesting that a snapshot based test thingy is something that you could very conceivably write, anyhow, and that perhaps you should write if you want to make the macOS situation better. the first thing i would do is make a snapshot manually, don't worry yet about automating it, then script starting up the VM and running a test and throwing away the snapshot.23:43:48
@jade_:matrix.orgjade_ this would at the very least make your own life way easier 23:44:00
@kfears:matrix.orgKFears (tragedy arc) Like, I do mind maintaining MacOS side of things, because the CI is extremely painful at best and I don't have any local testing environment to do it, but my biggest issue is that I doubt I can say that lix-installer supports MacOS as tier 1 even if I do more than my very best 23:44:42
@jade_:matrix.orgjade_i use OSX-KVM when i have to test apple software because it is the only way it will get done unless a mac magically appears on my doorstep23:45:44
@kfears:matrix.orgKFears (tragedy arc)Like, I'll do my best but I can't make any guarantees about MacOS even if I do the best I can, is what I'm trying to say23:45:47
@kfears:matrix.orgKFears (tragedy arc)Does it make sense?23:45:51
@jade_:matrix.orgjade_right23:45:54
@jade_:matrix.orgjade_what i am saying here is that it would be very valuable to the project if you wrote a thing that abstractly "starts a VM", whether with OSX-KVM if necessary or via qemu on native macOS (can literally be a script provided by the user to start qemu), from a snapshot and lets you at least at the start, manually run a test on it locally, then shut it down.23:47:58
@kfears:matrix.orgKFears (tragedy arc)Right23:48:46
@kfears:matrix.orgKFears (tragedy arc)I'm not sure if I'll ever get to it, but just to clarify: is that legal if you don't own/run it on MacOS?23:49:09
@jade_:matrix.orgjade_i believe that is an unequivocal no23:49:23
@jade_:matrix.orgjade_but people run hackintoshes and i don't think it has ever been enforced except possibly on people selling hackintoshes. i don't endorse it and the project doesn't endorse it. :/23:51:03
@kfears:matrix.orgKFears (tragedy arc) So in short: there is no legal, not-astronomically-expensive and convenient way to run lix-installer tests, at least. At most, you get to pick two 23:55:44
@jade_:matrix.orgjade_that's right23:55:55
@kfears:matrix.orgKFears (tragedy arc)Yeah, so then, like, I'm not sure if we can call MacOS support tier 1 even if we can actually run the CI and stuff like normal for it23:56:36
@kfears:matrix.orgKFears (tragedy arc)Because installation will always be different shades of pain23:56:51
@jade_:matrix.orgjade_owning a mac and running a vm on it with snapshots is (1) and (3), eula violations with an essentially identical script to do the same thing are (2) and (3).23:57:22
@jade_:matrix.orgjade_ but this is a software problem because that script needs to be written and then the installer can easily be tested. 23:57:50
@kfears:matrix.orgKFears (tragedy arc)Hmm, I see. So if there's some money to start the process, it's not that bad, right?23:58:29
@colemickens:matrix.orgcolemickens might be of interest: https://github.com/MatthewCroughan/NixThePlanet 23:58:54
@jade_:matrix.orgjade_yeah. in principle. or if you build it originally with osx-kvm and port it to m123:58:56
@jade_:matrix.orgjade_
In reply to @colemickens:matrix.org
might be of interest: https://github.com/MatthewCroughan/NixThePlanet
aha there is a wfvm for macOS lol
23:59:14
@lulu-berlin:matrix.orgLulu joined the room.23:59:26
9 Oct 2024
@kfears:matrix.orgKFears (tragedy arc)Alright, so. Aside from the CI stuff, is there anything else I can prioritize on installer? Just getting rid of the tech debt and stuff for now?00:02:53
@jade_:matrix.orgjade_i mean i think CI is the primary barrier to really wanting to touch it. overall improvements generally encouraged.00:04:07
@jade_:matrix.orgjade_(also hi cole, thanks for your work upstream on the installer and for fixing the macOS Sonoma issues)00:06:56
@colemickens:matrix.orgcolemickens
In reply to @jade_:matrix.org
(also hi cole, thanks for your work upstream on the installer and for fixing the macOS Sonoma issues)
Other cole :)
00:07:08
@jade_:matrix.orgjade_WOOPS00:07:12

Show newer messages


Back to Room ListRoom Version: 10