summary refs log tree commit diff stats
path: root/system/settings
diff options
context:
space:
mode:
authorAlan Pearce2022-06-23 23:59:05 +0200
committerAlan Pearce2022-06-23 23:59:05 +0200
commit862c788d878eb562a40ffdbf283bd74704ee59c3 (patch)
tree1fb21f49194aba6fb51c322b2d6b1085b72740e7 /system/settings
parentd0ef97c29db5c4f915c1a3717c9118d7ed958455 (diff)
downloadnixfiles-862c788d878eb562a40ffdbf283bd74704ee59c3.tar.lz
nixfiles-862c788d878eb562a40ffdbf283bd74704ee59c3.tar.zst
nixfiles-862c788d878eb562a40ffdbf283bd74704ee59c3.zip
darwin: switch to x86_64
fixes numerous build failures mostly due to compiler-rt
Diffstat (limited to 'system/settings')
-rw-r--r--system/settings/darwin.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/settings/darwin.nix b/system/settings/darwin.nix
index 629eff16..2761817e 100644
--- a/system/settings/darwin.nix
+++ b/system/settings/darwin.nix
@@ -14,6 +14,10 @@
       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 = {