| Hi there, I’m posting here (maybe wrong room, dunno) because I’m having an issue with compiling an aarch64-linux package from a darwin remote builder.
To further explain, I've set up the darwin.linux-builder on an M4 Macbook with the goal of being able to build aarch64-linux packages as I don't have any real aarch64-linux machine lying around.
After following the steps from the manual, I have an aarch64-linux builder VM running and have updated the Mac Nix conf with the following:
extra-experimental-features = nix-command flakes
build-users-group = nixbld
extra-trusted-users = nicolas
builders = ssh-ng://builder@linux-builder aarch64-linux /etc/nix/builder_ed25519 8 - - - c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSUpCV2N4Yi9CbGFxdDFhdU90RStGOFFVV3JVb3RpQzVxQkorVXVFV2RWQ2Igcm9vdEBuaXhvcwo=
builders-use-substitutes = true
When I try to build the package, after a few seconds I get the following error: error: creating pipe: Too many open files. I can see the remote builder is used from the brief log messages. Restarting the build does continue the build where it left (well, the built/retrieved dependencies are in the remote store so that's normal) so I guess that if I run the build enough times, it will end up producing the final build output, but it's quite annoying in the meantime.
I looked around a bit (surely not enough) but the only resources I found were referring to systemd. Since MacOS is using launchd, this is not of any help to my issue, or so I think. It's unclear if the error is from the local host or the remote builder.
Does anyone has an idea as to how to fix this?
|