You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to compile the installer ISO on my M1 Mac from aarch64-darwin.
It seems like a simple task -- nix run nixpkgs#darwin.linux-builder and then nix build --builders 'linux-builder aarch64-linux' -j0 .#packages.aarch64-linux.installer-bootstrap.
Unfortunately, the kernel requires big-parallel, which isn't enabled by default in linux-builder.
I could use nix-darwin to configure a builder that supports big-parallel, but AFAICT that then enables a launchdaemon that runs on boot and will be consuming system resources all the time, when I'd rather just run nix run nixpkgs#darwin.linux-builder manually for those rare cases of wanting to cross-compile for aarch64-linux from aarch64-darwin. I presume it would require even more effort for non-nix-darwin users.
It seems that this is probably resulting from somewhere deeper in the kernel-building tooling via requiredSystemFeatures, as I don't see it specified in this repo; is there a way it could be disabled for the asahi kernel to allow easier building from aarch64-darwin? My simple attempts at an override with overrideAttrs or overrideDerivation don't work.
I'd like to be able to compile the installer ISO on my M1 Mac from aarch64-darwin.
It seems like a simple task --
nix run nixpkgs#darwin.linux-builder
and thennix build --builders 'linux-builder aarch64-linux' -j0 .#packages.aarch64-linux.installer-bootstrap
.Unfortunately, the kernel requires
big-parallel
, which isn't enabled by default inlinux-builder
.I could use nix-darwin to configure a builder that supports
big-parallel
, but AFAICT that then enables a launchdaemon that runs on boot and will be consuming system resources all the time, when I'd rather just runnix run nixpkgs#darwin.linux-builder
manually for those rare cases of wanting to cross-compile for aarch64-linux from aarch64-darwin. I presume it would require even more effort for non-nix-darwin
users.It seems that this is probably resulting from somewhere deeper in the kernel-building tooling via
requiredSystemFeatures
, as I don't see it specified in this repo; is there a way it could be disabled for the asahi kernel to allow easier building from aarch64-darwin? My simple attempts at an override withoverrideAttrs
oroverrideDerivation
don't work.Related: https://discourse.nixos.org/t/how-to-override-mandatoryfeatures-big-parallel/50378
The text was updated successfully, but these errors were encountered: