| 20 Mar 2022 |
@elvishjerricco:matrix.org | Sooo... I'm going to do another little review an then open a PR! | 06:57:07 |
@elvishjerricco:matrix.org | https://github.com/NixOS/nixpkgs/pull/164943 woot | 08:06:10 |
@arianvp:matrix.org | Will try it out right away! | 08:08:58 |
@arianvp:matrix.org | I wanted to say we probably need https://github.com/NixOS/nixpkgs/pull/121371 for the correct ordering of kmod-static-nodes and systemd-tmpfiles-setup-dev but it seems flokli merged it already! :D | 08:12:08 |
@arianvp:matrix.org | so you probably have those fixed already :P | 08:12:14 |
@arianvp:matrix.org | yay about forgetting about PRs and other people picking them up | 08:13:31 |
@elvishjerricco:matrix.org | Arian: Beware it's extremely minimal (on purpose), so it's only going to boot extremely simple things | 08:14:20 |
@elvishjerricco:matrix.org | But at least it has a good rescue shell when it fails :P | 08:14:34 |
@arianvp:matrix.org | that's fine. I have a "play with initrd" machine :P | 08:14:47 |
@arianvp:matrix.org | Another future work could be: Unified kernel images for the SecureBoot integration | 08:15:52 |
@arianvp:matrix.org | Adds to my own list | 08:15:56 |
@elvishjerricco:matrix.org | Bit out of scope I think :P | 08:17:00 |
@arianvp:matrix.org | yes =) | 08:17:04 |
@arianvp:matrix.org | follow-up. :P | 08:17:13 |
@arianvp:matrix.org | Another follow-up I'd want to do is evangelize https://systemd.io/DISCOVERABLE_PARTITIONS/ . I guess that could be part of adding repart support (as it uses it by default) | 08:17:38 |
@arianvp:matrix.org | it makes systemd initrd automatically discover LUKS partitions etc without cmdline or /etc/fstab hints | 08:17:58 |
@elvishjerricco:matrix.org | Yea I'm iffy on that. The systemd people seem to really like it, but it seems antithetical to NixOS's "declarative everything" approach | 08:18:26 |
@arianvp:matrix.org | yeh true | 08:18:40 |
@arianvp:matrix.org | my only gripe is whether having rust in the bootstrap path is a good idea... | 08:22:09 |
@arianvp:matrix.org | But given we were eager to add it to nix as well I think that ship has sailed. And rust bootstrapping is in sorta-ok shape | 08:22:35 |
@arianvp:matrix.org | (I think Guix people figured out bootstrapability of rust) | 08:22:51 |
@arianvp:matrix.org | Yeh actually not gripe at all. Go Rust | 08:23:14 |
@elvishjerricco:matrix.org | Arian: Rust has been in the bootstrap path for quite a while now because it's needed for spidermonkey which is needed for... polkit(?) or something | 08:25:16 |
@elvishjerricco:matrix.org | But given we should be caching this tool, users should never end up downloading a rust tool chain to build their systems | 08:25:51 |
@arianvp:matrix.org | oh yeh polkit... great =) | 08:26:44 |
@janne.hess:helsinki-systems.de | In reply to @arianvp:matrix.org But given we were eager to add it to nix as well I think that ship has sailed. And rust bootstrapping is in sorta-ok shape It got removed iirc and is now only used for the docs | 09:44:35 |
@janne.hess:helsinki-systems.de | In reply to @elvishjerricco:matrix.org Arian: Rust has been in the bootstrap path for quite a while now because it's needed for spidermonkey which is needed for... polkit(?) or something Andy is in the process of replacing that for duktape though | 09:44:58 |
@janne.hess:helsinki-systems.de | (not saying I don't like the language but I don't think it's part of bootstrap rn) | 09:49:17 |
ius | In reply to @arianvp:matrix.org oh yeh polkit... great =) Note that polkit master includes support for duktape instead of spidermonkey, which is a reasonably small C++ JS implementation. That's how I avoid having to build llvm/spidermonkey on (terribly slow) RISC-V | 10:45:42 |
ius | oh doh, that's what Janne Heß mentioned as well | 10:48:08 |