7 ms·
Ha, I went from Ubuntu > Arch > NixOS and I think I'm finally happy (famous last words, I know). This rings true for me.
by kfajdsl 5y ago
Ha, I went from Ubuntu > Arch > NixOS and I think I'm finally happy (famous last words, I know). This rings true for me.
- Ericson2314 5y agoI really want to sell Valve on the Nixpkgs cross compilation work we've done someday. If anyone knows anyone there that would be interested in flawless Linux <-> Windows builds with all toolchain combinations, do let me know! Thanks for playing games on NixOS!
- bpye 5y agoHave you a link to a specific project?
- Ericson2314 5y agohttps://github.com/NixOS/nixpkgs/blob/master/lib/systems/examples.nix 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-compilation 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 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 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.
- bpye 5y agoI’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.
- Ericson2314 5y agoNo 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 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.
- bpye 5y agoThanks for the link - I'll be sure to follow that issue.
- Ericson2314 5y agoThanks for your interest!