-
-
Notifications
You must be signed in to change notification settings - Fork 154
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug description
Upon activating a config using nixos-unstable (using the default NixOS-WSL config provided in this case), WSL exits with code 1.
To Reproduce
Steps to reproduce the behavior:
sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos
sudo nix-channel --add https://github.com/nix-community/NixOS-WSL/archive/refs/heads/main.tar.gz nixos-wsl
sudo nixos-rebuild test
Logs
[nixos@nixos:~]$ sudo nixos-rebuild test
warning: Git not found; cannot figure out revision of '/nix/store/iqajr40sbp2iawj6g1f2z0vidj9f5sfd-nixos/nixos'
building the system configuration...
stopping the following units: logrotate-checkconf.service, nscd.service, systemd-sysctl.service, systemd-timesyncd.service, systemd-tmpfiles-resetup.service, systemd-udev-trigger.service, systemd-udevd-control.socket, systemd-udevd-kernel.socket, systemd-udevd.service, systemd-update-done.service
NOT restarting the following changed units: systemd-journal-flush.service, systemd-logind.service, systemd-tmpfiles-setup.service, systemd-update-utmp.service, systemd-user-sessions.service, [email protected], [email protected]
activating the configuration...
removing group ‘systemd-timesync’
removing user ‘systemd-timesync’
setting up /run/booted-system...
setting up /bin...
setting up /sbin...
setting up /etc...
removing obsolete symlink ‘/etc/systemd/timesyncd.conf’...
setting up /sbin/init shim...
restarting systemd...
[process exited with code 1 (0x00000001)]
You can now close this terminal with Ctrl+D, or press Enter to restart.
WSL version
WSL version: 2.4.13.0
Kernel version: 5.15.167.4-1
WSLg version: 1.0.65
MSRDC version: 1.2.5716
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.4770
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working