| 16 Nov 2025 |
dramforever | if you want to have hydra start ship cross-to-cygwin stdenv, we can talk | 17:31:46 |
dramforever | if you want hydra to run cygwin builds honestly i don't see it happening soon | 17:32:09 |
K900 | I will have to be extremely convinced before I agree to spend a single Hydra cycle on cygwin tbh | 17:32:39 |
Corngood | In reply to @k900:0upti.me Windows makes for an even weirder Linux Cygwin is meant to be a posix OS in itself | 17:34:02 |
K900 | An exceptionally shit one, yes | 17:34:20 |
Corngood | Why do you say that? For me performance is the biggest problem | 17:35:15 |
K900 | Because it is trying to adapt semantics that are fundamentally incompatible | 17:35:45 |
K900 | And emulate things NT is simply not designed to do | 17:35:51 |
K900 | And it has subtle correctness bugs all over | 17:36:20 |
K900 | I can maybe be convinced to try MinGW, though I would significantly prefer Clang/MSVC | 17:37:28 |
K900 | Cygwin however is just not the right tool for anything, ever | 17:37:51 |
K900 | Except getting a shiny "look my Linux thing runs on Windows kinda sorta" PoC | 17:38:06 |
Corngood | I've used it a lot over the years for all sorts of things so I'm not going to agree with that. I have a pretty complicated dev setup with emacs, X11, etc | 17:39:06 |
Corngood | To me it just seems like the path of least resistance to making nix usable on windows for some of the things I'd like to use it for. | 17:40:16 |
K900 | And look at the amount of patches they apply to all of that | 17:40:18 |
Corngood | I've been through a lot of those patches getting nix to build in cross, and then natively on cygwin. Most of them aren't hacks. They just need some upstreaming work. | 17:41:35 |
Corngood | I also think nixpkgs could be extremely useful for keeping that process alive. | 17:42:35 |
Corngood | Anyway, I can make do without hydra support, I just need a binary cache and maybe better builders. Thanks for the builder recommendation above. Anyone have any thoughts on hosting a public binary cache for something like this? | 17:47:22 |
K900 | Cachix probably | 17:47:32 |
dramforever | maybe cachix | 17:47:37 |
dramforever | you can either use nix-community.cachix.org which is annoying in the "it contains caches from building arbitrary untrusted PRs" way, or get your own nix-community sponsored? subdomain which i forgot how to do | 17:49:48 |
hexa | I'm not excited about the idea of running windows builders for hydra down the road | 17:52:02 |
Corngood | Thanks! I'll look into this. I don't mind funding something if it's not crazy expensive. | 17:53:08 |
dramforever | namespace.so should be pretty good | 17:53:37 |
Corngood | Setting cygwin aside. What are we looking at if other platforms (e.g. msvc) advance? | 17:53:40 |
dramforever | and iirc even the free tier of cachix has quite a bit of space | 17:54:04 |
hexa | I have no idea what msvc is | 17:54:07 |
Corngood | microsoft's proprietary compiler. I guess I'm wondering about any builds that need to run on windows | 17:54:37 |
hexa | run an rfc to extend the platform tiers and find out | 17:54:54 |
dramforever | also for reference, the loongarch teams runs "our" own hydra on "our" nixpkgs fork, but at least that's still just linux | 17:55:10 |