News for hackers. Stuff that matters.
Re:Deploying an IHP Project to Fly.io by viraptor on Tuesday June 28, 2022 @05:16AM (#31905729)
> If you have the misfortune of using Windows or MacOS, you’ll need to use the following Dockerfile to build the image

Nix builds just fine on macos and I believe there's been some success with WSL as well, so that's not really a limitation.

Re:Deploying an IHP Project to Fly.io by njaremko on Tuesday June 28, 2022 @10:10AM (#31907884)
(I’m the author) The issue isn’t nix builds in general, those work fine on MacOS, the issue is cross compiling a Linux docker image, which can be much trickier. I usually end up just relying on the github CI to build it, but nix has some nice remote builder functionality that might also be worth looking into.
Re:Deploying an IHP Project to Fly.io by flurie on Tuesday June 28, 2022 @01:59PM (#31910885)
Thanks for the post. I've been meaning to write up remote nix builders on macOS, especially now that going cross-OS (and cross-arch) is increasingly common, though still possible! Perhaps I'll try your tutorial with my builders and see how it goes.
Re:Deploying an IHP Project to Fly.io by sbarre on Tuesday June 28, 2022 @07:37AM (#31906429)
WSL is not "Windows" at that point though.. From Docker's perspective you're building on Linux.
Re:Deploying an IHP Project to Fly.io by JamesSwift on Tuesday June 28, 2022 @09:40AM (#31907537)
I think theres a downstream dependency that requires it. I just tested locally and the build fails with

> error: getting status of '{...}/Config/nix/nixpkgs-config.nix': No such file or directory