From 39eb1e3d0788150c32023adcf384e29f260c6ef6 Mon Sep 17 00:00:00 2001 From: Colin Date: Sat, 11 Mar 2023 13:23:44 +0000 Subject: [PATCH] TODO: disable binfmt stuff --- hosts/modules/roles/build-machine.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/modules/roles/build-machine.nix b/hosts/modules/roles/build-machine.nix index d47ab232..8f5b67a6 100644 --- a/hosts/modules/roles/build-machine.nix +++ b/hosts/modules/roles/build-machine.nix @@ -35,7 +35,9 @@ in sane.services.nixserve.enable = true; # enable cross compilation + # TODO: do this via stdenv injection, linking into /run/binfmt the stuff in boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; + # corresponds to env var: NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 # nixpkgs.config.allowUnsupportedSystem = true; # granular compilation cache