From a899cf6c9f7672f5688dc5070ec084ebb8dc2878 Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 14 Mar 2023 21:34:09 +0000 Subject: [PATCH] binfmt compilation: fix typo --- hosts/modules/roles/build-machine.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/modules/roles/build-machine.nix b/hosts/modules/roles/build-machine.nix index 183c473d..c0a9d984 100644 --- a/hosts/modules/roles/build-machine.nix +++ b/hosts/modules/roles/build-machine.nix @@ -43,7 +43,7 @@ in # enable cross compilation # TODO: do this via stdenv injection, linking into /run/binfmt the stuff in - boot.binfmt.emulatedSystems = lib.optional cfg.emulation [ "aarch64-linux" ]; + boot.binfmt.emulatedSystems = lib.optionals cfg.emulation [ "aarch64-linux" ]; # corresponds to env var: NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 # nixpkgs.config.allowUnsupportedSystem = true;