!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
28 Jul 2025
@jade_:matrix.orgjade_i also think that as a separate stream of things, in addition to offering a community shared machine, it would be good to also offer sending devs physical macOS machines if they need them, because base mac minis have gotten to the point of this being realistic.06:52:16
@helle:tacobelllabs.nethelle (just a stray cat girl)right, I am going to try and get back in some of the dev loop today or tomorrow 11:16:30
@opna2608:matrix.orgPuna builtins.currentSystem from pkgsi686Linux.lix gives x86-linux which is nonesense, so I guess the fixups are completely unused, but supposed to be used. submitted separately since this affects more platforms than just POWER: https://gerrit.lix.systems/c/lix/+/3793 12:24:21
@opna2608:matrix.orgPuna * i think I submitted a theoretical fix for the POWER names? not super familiar with the gerrit workflow yet.
https://gerrit.lix.systems/c/lix/+/3773
if host_cpu is supposed to be used there, should i make that a separate changelist thingy?
12:25:07
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @opna2608:matrix.org
builtins.currentSystem from pkgsi686Linux.lix gives x86-linux which is nonesense, so I guess the fixups are completely unused, but supposed to be used. submitted separately since this affects more platforms than just POWER: https://gerrit.lix.systems/c/lix/+/3793
That has also been broken in cppnix and recently fixed. You’d also need to fix up MIPS/32 bit Arm.
12:34:34
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) I think I’ve squashed all problems with that. It doesn’t help tests that there don’t seem to be good integration tests for that stuff. 12:36:25
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)* I think I’ve squashed all problems with that. It doesn’t help that there don’t seem to be good integration tests for that stuff.12:36:50
@opna2608:matrix.orgPuna32-bit ARM should already be handled: https://git.lix.systems/lix-project/lix/src/commit/ca12657a6805045a7e81b2ea761e1af66c4ea1a7/meson.build#L209-L210 MIPS would need added handling though, yes.12:37:11
@opna2608:matrix.orgPuna …oh wait, it's just arm in meson. welp 12:37:44
@opna2608:matrix.orgPunai guess i'll add some checks for those as well then12:38:42
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @opna2608:matrix.org
32-bit ARM should already be handled: https://git.lix.systems/lix-project/lix/src/commit/ca12657a6805045a7e81b2ea761e1af66c4ea1a7/meson.build#L209-L210 MIPS would need added handling though, yes.
No, I don’t think so. All 32 bit arm targets have arm cpu_family.
12:46:08
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)At least that’s what meson docs recommend and that’s what nixpkgs does.12:46:40
@opna2608:matrix.orgPunaadded handling for 32-bit ARM & MIPSes to 3793. POWER i was already handling in a separate CL13:05:11
@opna2608:matrix.orgPuna i think that should put it on parity with cppnix then. there's technically still little-endian MicroBlaze which would need to be microblazeel, but i've never heard of that arch before… prolly fine to just leave it unhandled until someone actually needs it?
https://github.com/NixOS/nixpkgs/blob/52c24f184dc4f2980f29e7821063998505d48d56/lib/systems/doubles.nix#L42-L43
13:10:50
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @opna2608:matrix.org
i think that should put it on parity with cppnix then. there's technically still little-endian MicroBlaze which would need to be microblazeel, but i've never heard of that arch before… prolly fine to just leave it unhandled until someone actually needs it?
https://github.com/NixOS/nixpkgs/blob/52c24f184dc4f2980f29e7821063998505d48d56/lib/systems/doubles.nix#L42-L43
Makes sense, I’ve only fixed the stuff I could cross-compile and actually test under qemu-user.
13:26:18
@emilazy:matrix.orgemilyAlyssa is MicroBlaze's strongest soldier :P13:29:14
@emilazy:matrix.orgemily(but I guess not for running it natively)13:29:20
@qyriad:katesiria.orgQyriadqemu-user is super broken — have you actually been able to compile Lix under it?13:29:31
@emilazy:matrix.orgemily you can build a bunch of Nixpkgs stuff with qemu-user 13:30:22
@emilazy:matrix.orgemilyit does have a lot of rough edges though13:30:25
@qyriad:katesiria.orgQyriadyeah I've compiled a bunch of stuff with it, but I never got Lix (or Nix) to — that was a while ago though13:32:11
@emilazy:matrix.orgemilythe actual build or just tests?13:39:35
@emilazy:matrix.orgemilytests breaking doesn't surprise me, the build would13:39:39
@qyriad:katesiria.orgQyriadI don't remember honestly13:45:24
@helle:tacobelllabs.nethelle (just a stray cat girl)given that I am going to hit this soon for very silly reasons, wish me luck 14:56:40
@raitobezarius:matrix.orgraitobezarius aloisw send me a ssh key 19:39:40
@raitobezarius:matrix.orgraitobezariusi can give you access to something real quick19:39:43
@raitobezarius:matrix.orgraitobezariusuntil we finish setting those up for community builders19:39:50
@raitobezarius:matrix.orgraitobezarius
In reply to @jade_:matrix.org
i also think that as a separate stream of things, in addition to offering a community shared machine, it would be good to also offer sending devs physical macOS machines if they need them, because base mac minis have gotten to the point of this being realistic.
please don't send me mac minis
19:40:25
@raitobezarius:matrix.orgraitobezariusi already have too many of them and i don't want to see mac mini on my desk kthxbye19:40:35

Show newer messages


Back to Room ListRoom Version: 10