--- Begin Message ---
Subject: |
[PATCH 0/5] WIP Add WSL support. |
Date: |
Thu, 10 Feb 2022 06:05:43 +0000 |
These patches are a work-in-progress, adding support for running Guix
System under [WSL].
Windows Subsystem for Linux (WSL) lets developers run a GNU/Linux
environment – including most command-line tools, utilities, and
applications – directly on Windows, unmodified, without the overhead
of a traditional virtual machine or dual-boot setup.
Things mostly just work already. To try it out, first generate an
os tarball:
┌────
│ guix system image gnu/system/images/wsl.scm
└────
Then copy the result to your Windows system and run:
┌────
│ wsl --import guix ./guix/ image.tar.gz
└────
You can now run Guix System under WSL:
┌────
│ wsl -d guix
└────
The approach I took is copied from the [NixOS-WSL] project. Since WSL
doesn’t run the guest distro’s init system, as a work-around I set the
root user’s shell to a script that boots the system and then starts a
user login shell.
Thanks,
–
Alex Griffin
[WSL] <https://docs.microsoft.com/en-us/windows/wsl/>
[NixOS-WSL] <https://github.com/nix-community/NixOS-WSL>
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#53912: [PATCH 0/5] WIP Add WSL support. |
Date: |
Sun, 25 Sep 2022 13:56:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Hey,
> Tested all of it by creating a WSL image with some web services (nginx,
> tailon), they are started by Shepherd in the WSL and accessible from
> Windows.
And pushed, with a documentation update. I'll come up with a blog post
in the next coming days.
Thanks,
Mathieu
--- End Message ---