!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
26 Jul 2025
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Well you can build it cross (and hydra does build it).12:47:28
@emilazy:matrix.orgemilydid someone fix it? it was broken very recently12:47:54
@emilazy:matrix.orgemilymaybe only for v6/v512:48:02
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Not sure, nix hydra jobset has been building it for quite some time now.12:49:42
@emilazy:matrix.orgemilylooks like it's in fact only ARMv5, whoops12:52:43
@emilazy:matrix.orgemily32 bit support in Nixpkgs is usually half broken in general12:53:17
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Yup, but the PowerPC bringup work shows that it still should be fixed.12:54:36
@emilazy:matrix.orgemilysure :)12:58:30
@emilazy:matrix.orgemilymy impression was that Nix matched the Nixpkgs platform support policy12:59:02
@emilazy:matrix.orgemilynot sure if Lix has any declared tiers12:59:11
@qyriad:katesiria.orgQyriadMost of the time that a Lix build for a platform has broken it has been because of a downstream Nixpkgs breakage13:00:28
@qyriad:katesiria.orgQyriadthough I think sometimes that might've been through dependencies CppNix didn't have13:01:24
@aloisw:julia0815.dealoiswThere have also been a couple of instances where 32-bit specific bugs have been introduced in Lix.13:02:24
@emilazy:matrix.orgemilybuilding is one thing, running is another :)13:03:35
@emilazy:matrix.orgemily(though at least most 32 bit bugs can be caught statically with sufficiently aggressive checking)13:03:56
@aloisw:julia0815.dealoiswThe instances I'm thinking of were actually all build failures. I do not know whether it actually runs.13:04:44
@aloisw:julia0815.dealoisw I could try running a 32-bit Lix on my system, but probably it will OOM regularly. 13:05:17
@emilazy:matrix.orgemily
In reply to @xokdvium:matrix.org
Well you can build it cross (and hydra does build it).
(the thing about building Nix cross is that it means you're building the system cross so you probably have no need for Nix on the system)
13:05:45
@emilazy:matrix.orgemily(but I'm all for deconfusing platform stuff)13:05:52
@emilazy:matrix.orgemily
In reply to @aloisw:julia0815.de
I could try running a 32-bit Lix on my system, but probably it will OOM regularly.
running on an AArch64 box that has 32 bit mode is probably viable
13:06:29
@emilazy:matrix.orgemilylike, "might even bootstrap a basic NixOS system if you're lucky and send some patches" viable13:06:48
@aloisw:julia0815.dealoiswI'm actually thinking of x86_64 running an x86_32 Lix.13:07:05
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Not necessarily. For bootstrapping PowerPC OPNA has mentioned first cross-compiling an installer and then moving toward a native build.13:07:14
@aloisw:julia0815.dealoisw
nix-repl> pkgs.pkgsi686Linux.lixPackageSets.git.lix
«derivation /nix/store/4h894hnlpdnz841s99lbcy7yggjpkps7-lix-x86_64-unknown-linux-gnu-2.94.0-pre-20250725_57b1c289b592.drv»

Shit, I must be doing something wrong.

13:09:35
@emilazy:matrix.orgemily
In reply to @xokdvium:matrix.org
Not necessarily. For bootstrapping PowerPC OPNA has mentioned first cross-compiling an installer and then moving toward a native build.
right
13:10:05
@emilazy:matrix.orgemilywith 32 bit it's a lot harder (because bootstrapping on that much RAM and CPU is hard to impossible depending)13:10:33
@emilazy:matrix.orgemily though you can probably get away with -j1 --cores 1 for a good while longer. as long as you don't want a full desktop system 13:11:04
@emilazy:matrix.orgemily even the subset of i686-linux we build on fast hardware causes a good bit of grief 13:11:34
@emilazy:matrix.orgemily e.g. jq upstream is broken on 32 bit 13:11:45
@emilazy:matrix.orgemily
In reply to @aloisw:julia0815.de
nix-repl> pkgs.pkgsi686Linux.lixPackageSets.git.lix
«derivation /nix/store/4h894hnlpdnz841s99lbcy7yggjpkps7-lix-x86_64-unknown-linux-gnu-2.94.0-pre-20250725_57b1c289b592.drv»

Shit, I must be doing something wrong.

I think that's correct.
13:12:05

Show newer messages


Back to Room ListRoom Version: 10