Replies: 1 comment 1 reply
-
Building Nix on Windows is rather tricky, but it's an interesting question that I am yet to explore. Obviously NixOS and Home-Manager modules will not help you here, but perhaps the standalone configuration can help you? I am unsure whether the Neovim package from nixpkgs builds on Windows, but since we do not set any platform restrictions for the plugins we build from source it will probably be the largest and the only blocker. Since I have never tried building for Windows, nor WSL, I cannot tell you with decent enough confidence that Flakes can build for Windows platform but I have a feeling that if you use the standalone installation method to create a package, and then install it in WSL (does WSL have something similar to I'm a bit in the dark here, but maybe we can figure something out. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I would love to be able to output a windows binary that I can run natively on any windows machine i.e. without using Nix on WSL. I'm trying to use the flake to build a windows binary, but as I'm not very experienced with Nix, the errors don't make much sense to me. Is there any information out there on how to achieve this, or are there any examples of repos with flake package outputs of both windows and linux I can refer to? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions