!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

484 Members
Report: https://reproducible.nixos.org Project progress: https://github.com/orgs/NixOS/projects/30108 Servers

Load older messages


SenderMessageTime
9 Jun 2025
@emilazy:matrix.orgemilybtw, there is non-Nix work on solving the "running kernel" part that goes through tiny bare metal kernels and something called "Fiwix" :) https://lwn.net/Articles/983340/14:00:15
@julienmalka:matrix.orgJulieninteresting thanks !14:00:32
@emilazy:matrix.orgemily(which makes me happy, since I always felt like the "running kernel" part made the whole exercise a little absurd)14:00:35
@emilazy:matrix.orgemily("an existing Nix binary" has the same problem for our minimal bootstrap. it's still an improvement over the bootstrap status quo though, don't get me wrong)14:01:05
@emilazy:matrix.orgemily (but a true bootstrap starts before you have any fancy build coordinator to hand) 14:01:20
@emilazy:matrix.orgemily(ofc ideally you get Nix going as soon as possible in that process :) )14:01:29
@emilazy:matrix.orgemilyanyway, yeah, the fundamental idea is that you have a tiny and auditable trusted binary seed, and then you can reproduce anything by "only" auditing that binary seed and a few millions of lines of code14:02:06
@emilazy:matrix.orgemilyincluding, like, several patched old versions of GCC and stuff like that14:02:14
@emilazy:matrix.orgemilyand really the distinction between 256 bytes of hand-written machine code and the next stage where they get to write it in hex with comments instead is not very "source vs. binary" IMO14:02:42
@emilazy:matrix.orgemilybut the general principle is good, even if the bootstrap chain needs heavily trimming down to be practically auditable14:02:56
@raboof:matrix.orgraboofI see guix similarly requires an existing kernel and guile for their bootstrap, so no opportunity to build nix from their bootstrap 😆14:05:17
@emilazy:matrix.orgemilyyeah, though the Guix community has a lot of overlap with the work on things like ^ I think14:05:55
@emilazy:matrix.orgemilyIMO, the ideal is that you get a nice purely-functional package manager running on something "simple" – say that Fiwix kernel14:06:18
@emilazy:matrix.orgemilythat way you can optimize the more manual chain to get to Nix/Guix/whatever as short as possible and then the rest of the way you get to use the nice tool14:06:39
@julienmalka:matrix.orgJulienThen we can go and bootstrap the hardware 😇14:24:31
@emilazy:matrix.orgemilyfirst start with 256 transistors…14:25:58
@emilazy:matrix.orgemilyeventually you'll get an automated chip factory that processes purely functional specifications14:26:27
@emilazy:matrix.orgemilycurrently it involves constructing 10 of those from different eras to get the process size down so you'll want a big expanse of open space and a few decades but we're working on it…14:29:26
11 Jun 2025
@fricklerhandwerk:matrix.orgfricklerhandwerkin order to bake an apple pie you first need to invent the universe14:37:44
@fricklerhandwerk:matrix.orgfricklerhandwerk* in order to bake an apple pie you first need to create the universe14:38:02
@fricklerhandwerk:matrix.orgfricklerhandwerkAlso https://github.com/fosslinux/live-bootstrap14:38:51
@emilazy:matrix.orgemily"Currently, there is no way to perform the bootstrap without external preparations! This is a currently unsolved problem." :)14:39:46
@raboof:matrix.orgraboof"but wait, that disk you're reading those sources from, that has firmware in it 👀!"14:47:16
12 Jun 2025
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @raboof:matrix.org
"but wait, that disk you're reading those sources from, that has firmware in it 👀!"
Fear not: https://megaprocessor.com/
11:24:21
@julienmalka:matrix.orgJulienlovely11:25:13
@sugi:matrix.besaid.detokudan changed their profile picture.11:56:19
14 Jun 2025
@jonhermansen:matrix.org@jonhermansen:matrix.org joined the room.21:41:20
15 Jun 2025
@c3r5b8:matrix.org@c3r5b8:matrix.org left the room.13:32:29
@debtquity:matrix.orgdebtquity joined the room.14:04:31
@t4ccer:matrix.orgt4ccer left the room.19:06:56

Show newer messages


Back to Room ListRoom Version: 6