!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

346 Members
https://github.com/nix-community/NixOS-WSL61 Servers

Load older messages


SenderMessageTime
25 Nov 2022
@k900:0upti.meK900Also filed an issue on our side: https://github.com/nix-community/NixOS-WSL/issues/17118:22:41
@k900:0upti.meK900Oh no I found another bug18:23:57
@k900:0upti.meK900The installer does not work AT ALL with native-systemd18:24:24
@k900:0upti.meK900Because we're propagating /etc/wsl.conf into it18:25:10
@k900:0upti.meK900And there's obviously no systemd in the installer18:25:17
@nzbr:nzbr.deArson CopperflameI know, that's why I skipped making tests for it for now18:25:17
@nzbr:nzbr.deArson CopperflameWe need to include /etc/wsl.conf for the initial boot to work correctly18:25:36
@k900:0upti.meK900Maybe it should be a different wsl.conf then18:25:55
@nzbr:nzbr.deArson CopperflameI'd suggest we run the installer script through the systemd wrapper and include that in the installer tarball18:25:57
@k900:0upti.meK900That would need us to stick the entire systemd closure into the initial tarball18:26:22
@k900:0upti.meK900Which is oof18:26:25
@k900:0upti.meK900What's the smallest wsl.conf we can have that still works?18:26:47
@k900:0upti.meK900 Maybe we should just have the installer read -p at the end and die horribly 18:27:10
@k900:0upti.meK900And then make you restart the VM18:27:16
@nzbr:nzbr.deArson CopperflameWe could make a second binary that execs the systemd wrapper once it's unpacked18:28:34
@k900:0upti.meK900eww18:28:44
@nzbr:nzbr.deArson CopperflameOr can we somehow explicitly remove systemd from the wrappers closure?18:28:58
@k900:0upti.meK900That's a whole other use case18:29:07
@k900:0upti.meK900Like, that's a whole other scenario to test18:29:25
@k900:0upti.meK900That doesn't look normal at all18:29:29
@k900:0upti.meK900Maybe we can just ignore it until upstream fixes their shit18:29:45
@k900:0upti.meK900And if you want native systemd, you just need to rebuild after18:29:55
@nzbr:nzbr.deArson Copperflame I think that's the best option for now. I might look into fixing the installer later if I have time 18:31:17
@k900:0upti.meK900I just want upstream to talk to non-Ubuntu distros18:31:44
@k900:0upti.meK900Anyway tests are good on #170 and almost good on #16918:34:55
@k900:0upti.meK900(nice)18:34:58
@k900:0upti.meK900Green on both now18:35:10
@sandro:supersandro.deSandro 🐧 K900: didn't @mic92 give you permissions on nixos-wsl? 18:46:21
@k900:0upti.meK900Nope18:46:26
@sandro:supersandro.deSandro 🐧
In reply to @nzbr:nzbr.de
Merged! Please rebase/merge main into your PRs K900 Sandro 🐧 psvo
doing later if I don't forget
18:47:03

Show newer messages


Back to Room ListRoom Version: 9