darwin: switch to x86_64 fixes numerous build failures mostly due to compiler-rt
Alan Pearce alan@alanpearce.eu
Thu, 23 Jun 2022 23:59:05 +0200
1 files changed, 4 insertions(+), 0 deletions(-)
jump to
M system/settings/darwin.nix → system/settings/darwin.nix
@@ -14,6 +14,10 @@ automatic = true; user = "alan"; options = "--max-freed $((25 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | awk '{ print $4 }')))"; }; + extraOptions = '' + system = x86_64-darwin + extra-platforms = x64_64-darwin aarch64-darwin + ''; }; nixpkgs.config = {