| 2 Feb 2023 |
K900 | Nice | 16:36:27 |
| 5 Feb 2023 |
Sandro 🐧 | https://social.arkane-systems.net/@cerebrate/109807657818210463 | 19:05:47 |
K900 | Wait what | 19:07:27 |
K900 | What are the WSL bits even doing running stuff from /run/current-system | 19:07:50 |
K900 | They shouldn't be anywhere close to that | 19:08:02 |
Arson Copperflame | I think it tries to do that because that's set as the defaut user's shell | 19:20:09 |
K900 | But it shouldn't be starting the shell until systemd is alive | 19:20:47 |
Arson Copperflame | https://github.com/microsoft/WSL/issues/8886 | 19:21:03 |
Arson Copperflame | That's exactly the bug linked there | 19:21:19 |
K900 | Unless their system is so slow it can't activate and spawn a systemd in however long WSL takes to give up on waiting for systemd to be ready | 19:21:26 |
K900 | I am pretty sure that got fixed though | 19:21:52 |
K900 | It should be probing systemctl is-system-running | 19:22:11 |
| 9 Feb 2023 |
K900 | https://doc.rust-lang.org/std/env/fn.split_paths.html | 21:59:08 |
K900 | Oof | 21:59:09 |
K900 | I just randomly stumbled upon this in a completely unrelated codebase | 21:59:24 |
K900 | Now I need to fix the shim | 21:59:39 |
K900 | https://github.com/nix-community/NixOS-WSL/pull/219/files | 22:41:05 |
K900 | Started fixing the shim | 22:41:08 |
K900 | Don't merge until I get tests running in CI though | 22:41:23 |
| 10 Feb 2023 |
| hexagony joined the room. | 02:05:29 |
K900 | https://github.com/nix-community/NixOS-WSL/pull/219 should be good to review now | 07:26:05 |
| 11 Feb 2023 |
K900 | I merged 219 because I found a setup where the old one actually breaks | 14:40:17 |
| 12 Feb 2023 |
henrik-ch | I am very new to nixos, nixos wsl, and also to this channel. I hope that it's okay to post here to ask for your advice. I added this snippet to my /etc/nixos/configuration.nix
environment.systemPackages = with pkgs; [
emacs
];
(I put it under the experimental features flakes bit)
When I ran nixos-rebuild switch afterwards I get this error message:
building '/nix/store/51a2g3iffr4cv3wzh1k9g69231ldv8gj-etc.drv'...
building '/nix/store/p4c000pm7qzlmn2a72gnxfrkdvccdlbz-nixos-system-nixos-22.05.20220812.5c211b4.drv'...
error: creating symlink from '/nix/var/nix/profiles/system-2-link.tmp-6530-1022011929' to '/nix/store/wpirs5md50yzp3qws0chzpqr5s3jzfaf-nixos-system-nixos-22.05.20220812.5c211b4': Permission denied
then I try sudo nixos-rebuild switch and still get an error.
reloading user units for nixos...
setting up tmpfiles
fchmod() of /tmp/.X11-unix failed: Read-only file system
reloading the following units: dbus.service
Any pointers to what might be best next steps or things to check would be greatly appreciated!
| 19:59:08 |
K900 | You should probably update your nixos-wsl version | 20:00:20 |
K900 | And then run nixos-rebuild with sudo | 20:00:38 |
henrik-ch | Thank you for chatting back K900 🙏. Are you thinking of system.stateVersion = "22.05";, or more like downloading a new tar.gz? | 20:02:15 |
K900 | Never touch stateVersion | 20:02:22 |
K900 | Did you use the official tarball from the NixOS-WSL github page? | 20:02:51 |
henrik-ch | I think so, but just to make sure, I will start afresh, it's a quick thing to do. | 20:03:13 |
K900 | Which tarball version did you use? The 22.05 one from releases? | 20:04:20 |