!9IQChSjwSHXPPWTa:lix.systems

Lix

707 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms216 Servers

Load older messages


SenderMessageTime
7 Nov 2024
@kfears:matrix.orgKFears (annoying)Vaguely related q: how long have static builds been broken for?10:02:24
@kfears:matrix.orgKFears (annoying)Maybe there's space for improving installer since we have static builds now10:02:45
@k900:0upti.meK900I do wonder if we can/should just do non-NixOS installs by just dropping a static binary somewhere yeah10:04:05
@kfears:matrix.orgKFears (annoying)Btw, assuming we want to install static binary into the Nix store, there are no runtime dependencies right? Just the CA certs?10:06:38
@kfears:matrix.orgKFears (annoying)(I do think dropping a static binary somewhere is a much better approach than using Nix store for this btw)10:07:15
@kfears:matrix.orgKFears (annoying)That would also make upgrading extremely smooth10:07:54
@kfears:matrix.orgKFears (annoying)Like, the whole upgrade procedure would just come down to replacing the binary with a newer version10:08:27
@atemu12:matrix.orgAtemuLix is more than a single binary10:09:39
@atemu12:matrix.orgAtemuYou need integrations with the system such as users, groups and shell hooks10:10:00
@atemu12:matrix.orgAtemuAnd the nix-daemon if course10:10:14
@atemu12:matrix.orgAtemuAnd even mounting the Nix store on some systems10:11:12
@vigress9:matrix.orgV. 🏳️‍⚧️ Yeah but point is, it is dramatically simpler 10:11:28
@kfears:matrix.orgKFears (annoying)Yeah, I might have given off the wrong impression, I don't try to say that we'll be able to drop installer and just distribute ready-to-go binaries, nuh-uh10:12:03
@kfears:matrix.orgKFears (annoying)We'll still need the installer10:12:09
@kfears:matrix.orgKFears (annoying)But the part that handles installing the package will be so much simpler, it's very nice10:12:58
@k900:0upti.meK900
In reply to @atemu12:matrix.org
Lix is more than a single binary
Yes, but upgrading a single binary is a lot easier
10:14:37
@kfears:matrix.orgKFears (annoying)Currently, Lix installation part of the installer is straight up miserable, we bundle a tarball with like manually copied Nix store paths with Lix, glibc, aws-sdk-cpp, curl and so much more10:15:17
@kfears:matrix.orgKFears (annoying) And we like do a whole backflip to set up Lix to manage itself with those store paths, which means we hard depend on nix upgrade-nix or doing even more crimes to upgrade Lix using the installer 10:16:08
@kfears:matrix.orgKFears (annoying)And the alternative (which has a submitted CL) is basically re-implementing parts of the substitution process in Rust by hand ("parts" because doing the whole thing is miserable)10:17:20
@kfears:matrix.orgKFears (annoying)And it's like a +800 LoC diff10:17:32
@kfears:matrix.orgKFears (annoying) Compared to that, upgrading a static binary is just mv nix nix.old; curl <new-nix> -O nix 10:18:45
@kfears:matrix.orgKFears (annoying) Yeah, the more I think about it, the more I'm in favor of it, let's get binary releases and just drop the binary into like /nix/lix-binary or something, idk we'll figure it out 10:20:49
@kfears:matrix.orgKFears (annoying) might be a good time to merge all my silly little refactors too 10:29:55
@toxicfrog:ancilla.caToxicFrogHaving been exposed to the innards of lix-installer, I am in favour of something that lets us prune big chunks of it.14:08:24
@toxicfrog:ancilla.caToxicFrog(I also need to go back and clean up my risc-v patches and upstream them. In my copious free time. Sigh.)14:08:40
@kfears:matrix.orgKFears (annoying)
In reply to @toxicfrog:ancilla.ca
Having been exposed to the innards of lix-installer, I am in favour of something that lets us prune big chunks of it.
Yeah, this is something I'm interested of as well
14:09:31
@kfears:matrix.orgKFears (annoying)This is the CL I'm most excited for https://gerrit.lix.systems/c/lix-installer/+/206314:10:01
@kfears:matrix.orgKFears (annoying)The whole "plan" thing is very annoying and bleeds into pretty much every code path for no reason14:10:37
@kfears:matrix.orgKFears (annoying) * The whole "receipt" thing is very annoying and bleeds into pretty much every code path for no reason14:10:44
@toxicfrog:ancilla.caToxicFrogOoo14:11:10

Show newer messages


Back to Room ListRoom Version: 10