Re:The guide to software development with Guix
by dannymi on Thursday June 08, 2023 @06:31AM
(#36239648)
It works on top of any Linux distribution.
So you can for example use WSL2 on Windows with a small Linux distribution and then extract the guix binaries from the website guix.gnu.org onto there, start guix-daemon in there and use guix like that. That said, we care about bootstrappable builds, so we can't recommend using a hypervisor I can't trust (Windows Hyper-V) as a base.
That's if you want the development environment.
On the other hand, for using guix packs of your software, you don't even need to install guix. Just unpack the pack as-is (or use docker).
Note: guix supports cross compilation, so you CAN just use --target=x86_64-w64-mingw32 and it will compile your program for Windows native just fine. The host needs to be Linux- or Hurd-based, though.
Sometimes people come and try to port it to cygwin or whatever but I have no experience in how far that is.
So you can for example use WSL2 on Windows with a small Linux distribution and then extract the guix binaries from the website guix.gnu.org onto there, start guix-daemon in there and use guix like that. That said, we care about bootstrappable builds, so we can't recommend using a hypervisor I can't trust (Windows Hyper-V) as a base.
That's if you want the development environment.
On the other hand, for using guix packs of your software, you don't even need to install guix. Just unpack the pack as-is (or use docker).
Note: guix supports cross compilation, so you CAN just use --target=x86_64-w64-mingw32 and it will compile your program for Windows native just fine. The host needs to be Linux- or Hurd-based, though.
Sometimes people come and try to port it to cygwin or whatever but I have no experience in how far that is.
What's your use case?