From 98542ed6ff35758e4799a46c338e9528debb9fb0 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Fri, 11 Oct 2024 20:29:27 +0200 Subject: [PATCH] Attempt build using LLVM --- flake.nix | 5 ++++- nixos/config/muon.nix | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 08949ff..d61d630 100644 --- a/flake.nix +++ b/flake.nix @@ -98,7 +98,10 @@ localSystem = builtins.currentSystem or platform; crossSystem = platform; overlays = [ self.overlays.default ]; - config.allowUnsupportedSystem = true; + config = { + allowBroken = true; + allowUnsupportedSystem = true; + }; }); packages = eachSystem (system: platform: diff --git a/nixos/config/muon.nix b/nixos/config/muon.nix index 94e641e..996f575 100644 --- a/nixos/config/muon.nix +++ b/nixos/config/muon.nix @@ -291,6 +291,12 @@ imports = [ }); }; + nixpkgs.crossSystem = { + system = "x86_64-linux"; + useLLVM = true; + linker = "lld"; + }; + programs.ssh = { knownHosts = { "[build-worker-kyoumanet.fly.dev]:2201".publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDL2M97UBHg9aUfjDUxzmzg1r0ga0m3/stummBVwuEAB";