News for hackers. Stuff that matters.
Re:Valve Steam Deck by Ericson2314 on Friday July 16, 2021 @11:32AM (#27857321)
https://github.com/NixOS/nixpkgs/blob/master/lib/systems/exa... for examples of the platforms we support today.

https://nix.dev/tutorials/cross-compilation#cross-compilatio... for an approachable introduction.

Currently we just support Unix -> Windows via MinGW. That's not good enough for AAA games.

But in the works is:

- https://github.com/NixOS/nixpkgs/pull/72366 Windows cross via LLVM and auto-downloaded MSVC runtime (you do need to indicate you signed the license, but that's it). I've heard of running cl.exe in Wine, and we could do that too

- https://github.com/nix-windows/nix Windows port of Nix

We finish these things up, and then we have the flawless Unix <-> Windows I advertised.

Re:Valve Steam Deck by bpye on Friday July 16, 2021 @12:45PM (#27858161)
I’ve been following the nix-windows project, has there been any recent progress there? I already run NixOS on my home server, Nix and home-manager on my MacBook. It would be great to replace scoop on Windows with Nix too.
Re:Valve Steam Deck by Ericson2314 on Friday July 16, 2021 @02:49PM (#27859773)
No progress on a nix-windows recently. I think the hardest part has just been keeping up with nix when we need to rewrite the build system.

However, https://github.com/NixOS/nix/pull/3160 to switch to Meson, has gotten new life breathed into it. Pamplemousse, who is interning where Edolstra works, is fuzzing Nix and needs Meson to make that less burdensome.

If that does get merged, than nix-windows can just be about Windows and not also be about Nix's build system, which will make it a lot easier to finish.

Re:Valve Steam Deck by bpye on Saturday July 17, 2021 @09:52PM (#27870227)
Thanks for the link - I'll be sure to follow that issue.
Re:Valve Steam Deck by Ericson2314 on Wednesday July 21, 2021 @12:09AM (#27902235)
Thanks for your interest!