unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Windows Subsystem for Linux
  2022-03-18 21:13 Building a software toolchain that works david larsson
@ 2022-03-19 13:02 ` zimoun
  2022-03-24 21:14   ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: zimoun @ 2022-03-19 13:02 UTC (permalink / raw)
  To: Guix Devel, david.larsson

Hi,

> I run Guix including GUI applications from Windows via WSL2 (Windows 
> Subsystem for Linux). It may help some to try it out if this setup was 
> easier and more documented, though I suppose that is somewhat prevented 
> to go via official channels by the FSDG guidelines.

Cool!  I knew that Guix via WSL2 was possible but I was not aware that
it just works for a daily usage. :-)

Yeah, document it via one Cookbook recipe would be great, IMHO.


About FSDG, the arguments are exactly the same as GNU Emacs on
Windows. :-) No?  I mean, GNU Emacs provides a full port on Windows and
such port is available on the same side as other platforms on their
website [1].  The rationale [2]:

        The purpose of the GNU system is to give users the freedom that
        proprietary software takes away from its users. Proprietary
        operating systems (like other proprietary programs) are an
        injustice, and we aim for a world in which they do not exist.

        To improve the use of proprietary systems is a misguided
        goal. Our aim, rather, is to eliminate them. We include support
        for some proprietary systems in GNU Emacs in the hope that
        running Emacs on them will give users a taste of freedom and
        thus lead them to free themselves.

would also make sense for GNU Guix, no?


1: <https://www.gnu.org/software/emacs/>
2: <https://www.gnu.org/software/emacs/download.html#nonfree>

Cheers,
simon


(Parenthesis, if we are picky or finicky, Guix on Windows would be about
the package manager and not the distribution, thus FSDG would not apply
here, right? ;-) Closing parenthesis.)




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Windows Subsystem for Linux
  2022-03-19 13:02 ` Windows Subsystem for Linux zimoun
@ 2022-03-24 21:14   ` Ludovic Courtès
  2022-03-25  3:43     ` Maxim Cournoyer
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2022-03-24 21:14 UTC (permalink / raw)
  To: zimoun; +Cc: Guix Devel, guix-maintainers

Hi,

zimoun <zimon.toutoune@gmail.com> skribis:

> About FSDG, the arguments are exactly the same as GNU Emacs on
> Windows. :-) No?  I mean, GNU Emacs provides a full port on Windows and
> such port is available on the same side as other platforms on their
> website [1].  The rationale [2]:
>
>         The purpose of the GNU system is to give users the freedom that
>         proprietary software takes away from its users. Proprietary
>         operating systems (like other proprietary programs) are an
>         injustice, and we aim for a world in which they do not exist.
>
>         To improve the use of proprietary systems is a misguided
>         goal. Our aim, rather, is to eliminate them. We include support
>         for some proprietary systems in GNU Emacs in the hope that
>         running Emacs on them will give users a taste of freedom and
>         thus lead them to free themselves.
>
> would also make sense for GNU Guix, no?

Just like the Emacs manual has an appendix on Windows support, I think
the cookbook could have a section on setting up Guix on WSL2.

Cc’ing maintainers for their thoughts!

Thanks,
Ludo’.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Windows Subsystem for Linux
  2022-03-24 21:14   ` Ludovic Courtès
@ 2022-03-25  3:43     ` Maxim Cournoyer
  2022-03-25  9:04       ` Phil
  0 siblings, 1 reply; 6+ messages in thread
From: Maxim Cournoyer @ 2022-03-25  3:43 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Guix Devel, guix-maintainers, zimoun

Hello,

Ludovic Courtès <ludo@gnu.org> writes:

> Hi,
>
> zimoun <zimon.toutoune@gmail.com> skribis:
>
>> About FSDG, the arguments are exactly the same as GNU Emacs on
>> Windows. :-) No?  I mean, GNU Emacs provides a full port on Windows and
>> such port is available on the same side as other platforms on their
>> website [1].  The rationale [2]:
>>
>>         The purpose of the GNU system is to give users the freedom that
>>         proprietary software takes away from its users. Proprietary
>>         operating systems (like other proprietary programs) are an
>>         injustice, and we aim for a world in which they do not exist.
>>
>>         To improve the use of proprietary systems is a misguided
>>         goal. Our aim, rather, is to eliminate them. We include support
>>         for some proprietary systems in GNU Emacs in the hope that
>>         running Emacs on them will give users a taste of freedom and
>>         thus lead them to free themselves.
>>
>> would also make sense for GNU Guix, no?
>
> Just like the Emacs manual has an appendix on Windows support, I think
> the cookbook could have a section on setting up Guix on WSL2.
>
> Cc’ing maintainers for their thoughts!

I think if it's worded correctly (e.g., by hinting that WSL2 is an
inferior means of running Guix than via Guix System or one of the others
GNU/Linux distributions), it can be a fine and useful addition to the
cookbook.  I have fellow coworkers (not at Savoir-faire Linux, mind you
:-)) who have yet to escape their Windows jail; giving them a taste of
what is possible out there with Guix would probably be a real eye
opener.  At the minimum it would present Guix as a technically viable
alternative to Docker & friends in these circles.

Thanks,

Maxim


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Windows Subsystem for Linux
  2022-03-25  3:43     ` Maxim Cournoyer
@ 2022-03-25  9:04       ` Phil
  2022-03-25 10:14         ` Oliver Propst
  0 siblings, 1 reply; 6+ messages in thread
From: Phil @ 2022-03-25  9:04 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: guix-devel, guix-maintainers, zimoun


Maxim Cournoyer writes:

> cookbook.  I have fellow coworkers (not at Savoir-faire Linux, mind you
> :-)) who have yet to escape their Windows jail; giving them a taste of
> what is possible out there with Guix would probably be a real eye
> opener.  At the minimum it would present Guix as a technically viable
> alternative to Docker & friends in these circles.
>

I totally agree with this - at the moment setting on WSL2 (AFAIK) you
have 2 options:

1. Run it on-top of Ubuntu and tweak the various daemons to start on
image boot.

2. Use Busybox to bootstrap a bare-metal install of Guix without a host
Linux.


The main problem I've had with 1 is that the resulting image is produced
is very large and does not reliably install on colleague's machines.
That and Ubuntu of course is just a distraction when trying to showcase
a Guix workflow.

The problem with 2 is that last time I tried (about a year ago), this
requires you to construct your Guix image for scratch - which is an
interesting exercise but will put off the majority of users:
https://gist.github.com/giuliano108/49ec5bd0a9339db98535bc793ceb5ab4

What we need is a WSL2 image like other OSs provided which can just be
import directly into WSL2 in a push-button fashion.  I don't think
this would be particularly difficult to do, and would encourage more
people to try Guix.

It would also be useful for people who already use Guix, but have no
option but to use Windows in some circumstances - WSL2 is already very
popular to escape Windows into Linux in day-to-day workflows, when you
are unable to have a Linux desktop, and has become widely adopted even in
companies that have a Windows-only desktop policy.

Having Guix images to download and install for WSL2 would make it very
easy to showcase Guix without asking people to risk a physical
install (which can be tricky to get hardware working), or even to adopt the
full Graphical Desktop. Users don't need admin rights to install a WSL2
image, and assuming WSL2 is already enabled (for Ubuntu or whatever) it
is trivial to add any other image.  It would be nice complement to the QCOW images
already available for QEMU.

Getting ahead of myself :-) I also think providing cloud images in
formats like Amazon's AMI would encourage people to spin-up Guix and
give it whirl.  And even looking at Ubuntu's "multipass" to easily bring
Ubuntu to Windows/Mac/Linux is another way to make it easy to try Ubuntu
on any other OS with a lightweight install.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Windows Subsystem for Linux
  2022-03-25  9:04       ` Phil
@ 2022-03-25 10:14         ` Oliver Propst
  0 siblings, 0 replies; 6+ messages in thread
From: Oliver Propst @ 2022-03-25 10:14 UTC (permalink / raw)
  To: Phil; +Cc: guix-devel, guix-maintainers, Maxim Cournoyer, zimoun

Yeah I very much agree about that it could be good idea idea to have the 
Guix system available as a Wsl 2 image
as I think could serve as a good gateway to many people to learn more 
about Guix and maybe free and open source software in general for that 
matter.


Kinds regards Oliver Propst
https://twitter.com/Opropst


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Windows Subsystem for Linux
@ 2022-03-25 14:20 Blake Shaw
  0 siblings, 0 replies; 6+ messages in thread
From: Blake Shaw @ 2022-03-25 14:20 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: zimoun, Guix Devel, guix-maintainers

Hi,
Ludovic Courtès <ludo@gnu.org> writes:

> Hi,
>
> zimoun <zimon.toutoune@gmail.com> skribis:
>
>> About FSDG, the arguments are exactly the same as GNU Emacs on
>> Windows. :-) No?  I mean, GNU Emacs provides a full port on Windows and
>> such port is available on the same side as other platforms on their
>> website [1].  The rationale [2]:
>>
>>         The purpose of the GNU system is to give users the freedom that
>>         proprietary software takes away from its users. Proprietary
>>         operating systems (like other proprietary programs) are an
>>         injustice, and we aim for a world in which they do not exist.
>>
>>         To improve the use of proprietary systems is a misguided
>>         goal. Our aim, rather, is to eliminate them. We include support
>>         for some proprietary systems in GNU Emacs in the hope that
>>         running Emacs on them will give users a taste of freedom and
>>         thus lead them to free themselves.
>>
>> would also make sense for GNU Guix, no?
>
> Just like the Emacs manual has an appendix on Windows support, I think
> the cookbook could have a section on setting up Guix on WSL2.
>
> Cc’ing maintainers for their thoughts!
>
> Thanks,
> Ludo’.
>

I just had a client inquire about deploying to WSL2, so it's great news
to hear that this is working!

Hopefully it will mean that as the Guix tentacles extend, the
obsolescence, redundance, inconvenience & expense of proprietary
"middleware" like Windows will become clear to users.

May Guix/Guile march forward on the path of ubiquitous extensionality! 

ez,
b

-- 
“In girum imus nocte et consumimur igni”


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-03-25 14:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-25 14:20 Windows Subsystem for Linux Blake Shaw
  -- strict thread matches above, loose matches on Subject: below --
2022-03-18 21:13 Building a software toolchain that works david larsson
2022-03-19 13:02 ` Windows Subsystem for Linux zimoun
2022-03-24 21:14   ` Ludovic Courtès
2022-03-25  3:43     ` Maxim Cournoyer
2022-03-25  9:04       ` Phil
2022-03-25 10:14         ` Oliver Propst

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).