emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#53912: closed ([PATCH 0/5] WIP Add WSL support.)


From: GNU bug Tracking System
Subject: bug#53912: closed ([PATCH 0/5] WIP Add WSL support.)
Date: Sun, 25 Sep 2022 11:57:02 +0000

Your message dated Sun, 25 Sep 2022 13:56:29 +0200
with message-id <87k05rk6qa.fsf_-_@gnu.org>
and subject line Re: bug#53912: [PATCH 0/5] WIP Add WSL support.
has caused the debbugs.gnu.org bug report #53912,
regarding [PATCH 0/5] WIP Add WSL support.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
53912: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=53912
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- 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 ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]