| 21 Mar 2022 |
@elvishjerricco:matrix.org | And using regular systemd instead increases the initrd size by more than double | 01:35:24 |
@janne.hess:helsinki-systems.de | In reply to @elvishjerricco:matrix.org we're using systemdMinimal... which has a different path That doesn't matter. If you're looking at the switch-root.c code, it compares the canonical path of the new systemd not to the path of the current systemd but rather to a constant that we set during compilation | 09:31:20 |
@janne.hess:helsinki-systems.de | This: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/systemd/default.nix#L564 | 10:08:45 |
@janne.hess:helsinki-systems.de | bobvanderlinden: if you fix the one spelling thing in your PR, I'll merge it | 10:16:04 |
@elvishjerricco:matrix.org | Oh. I very much misunderstood some stuff then :P Nice! | 10:40:37 |
@janne.hess:helsinki-systems.de | but you may be right that symlinks should work | 10:41:04 |
@janne.hess:helsinki-systems.de | I haven't checked what same_file() does exactly | 10:41:13 |
bobvanderlinden | In reply to @janne.hess:helsinki-systems.de bobvanderlinden: if you fix the one spelling thing in your PR, I'll merge it Done π https://github.com/NixOS/nixpkgs/pull/164016 | 11:31:14 |
@janne.hess:helsinki-systems.de | flokli was faster while I was at lunch :(( | 12:13:43 |
bobvanderlinden | Haha it's merged I'm happy π | 12:39:48 |
flokli | π | 13:43:09 |
| 22 Mar 2022 |
@elvishjerricco:matrix.org | Janne HeΓ: I pushed a bunch of changes addressing several of your points. I didn't push the thing causing infinite recursion though, but it's just wrapping the existing options so why don't you try it out? | 11:06:43 |
@janne.hess:helsinki-systems.de | I will once I clear out my conflicts with your new code :D | 11:07:06 |
@janne.hess:helsinki-systems.de | Okay pennae explained why it doesn't work. We won't make it work easily and since it's a temporary measure, I created this: https://github.com/NixOS/nixpkgs/commit/2aeb4967ae36bb127e3512ba6db8050edb3bedec | 11:32:45 |
@janne.hess:helsinki-systems.de | feel free to pick or rebase into your changeset | 11:32:57 |
@arianvp:matrix.org | I wonder if nixos should have a similar policy as kubernetes. Put things in a v1alpha1 namespaced and once you move to v1beta1 all the v1alpha1 options are upserted (translated) to their v1beta1 equivalent with aliases | 11:34:02 |
@arianvp:matrix.org | that way we can signal that a module is experimental; but also not break the API per se... | 11:34:18 |
@arianvp:matrix.org | (Unless needed of course) | 11:34:23 |
@janne.hess:helsinki-systems.de | I guess hiding the options should suffice | 11:34:43 |
@arianvp:matrix.org | e.g. you change. v1alpha1.initrd.mkInitrd to. v1beta1.initramfs.makeInitramfs and it gets trnslated by an alias and prints a deprecation notice or something | 11:35:06 |
@arianvp:matrix.org | maybe an interesting RFC to write :P | 11:35:25 |
@janne.hess:helsinki-systems.de | Not sure if the scope of the change is big enough for this to be important. I have no idea what state of the code will be in when we ship 22.05, but I don't think that it will be stable enough for like 90% of the users. 22.11 is probably the release where this will shine | 11:36:34 |
@janne.hess:helsinki-systems.de | Which is why I want the basics to be as complete as possible. I don't know how common that is for other people to do but if I have a very extensible and complete base, I can develop on my local machines and extend in what I need before upstreaming it to nixpkgs. It's just feels so much better working from the stable release (since most of my prod machines are on the release) than to switch to unstable (or even master) just for testing | 11:37:48 |
@elvishjerricco:matrix.org | In reply to @janne.hess:helsinki-systems.de Okay pennae explained why it doesn't work. We won't make it work easily and since it's a temporary measure, I created this: https://github.com/NixOS/nixpkgs/commit/2aeb4967ae36bb127e3512ba6db8050edb3bedec I wanted to cherry pick that but it doesn't appear to be on any branch | 17:27:01 |
@janne.hess:helsinki-systems.de | does this work?
$ git fetch origin 2aeb4967ae36bb127e3512ba6db8050edb3bedec
From github.com:nixos/nixpkgs
* branch 2aeb4967ae36bb127e3512ba6db8050edb3bedec -> FETCH_HEAD
| 17:31:50 |
@elvishjerricco:matrix.org | Huh, did not know you could do that. Cool | 18:11:59 |
| 23 Mar 2022 |
| ckie (they/them) joined the room. | 13:11:27 |
@janne.hess:helsinki-systems.de | Started to make the handover between systemds more possible: https://github.com/NixOS/nixpkgs/pull/165453 | 15:00:03 |
@elvishjerricco:matrix.org | Huh, yea that definitely helps | 20:40:21 |
ckie (they/them) | i never thought i'd see plural systemd | 22:23:20 |