all repos — nixfiles @ 862c788d878eb562a40ffdbf283bd74704ee59c3

System and user configuration, managed by nix and home-manager

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
commit

862c788d878eb562a40ffdbf283bd74704ee59c3

parent

d0ef97c29db5c4f915c1a3717c9118d7ed958455

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M system/settings/darwin.nixsystem/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 = {