From a8678cc21700f851c847b86075bed19cb7cff9dd Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Wed, 13 Mar 2024 17:33:22 +0800 Subject: [PATCH] feat: ruby - add emulated system --- hosts/idols-ruby/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/idols-ruby/default.nix b/hosts/idols-ruby/default.nix index d3644159..83dbc656 100644 --- a/hosts/idols-ruby/default.nix +++ b/hosts/idols-ruby/default.nix @@ -14,6 +14,8 @@ let in { imports = mylib.scanPaths ./.; + # Enable binfmt emulation of aarch64-linux, this is required for cross compilation. + boot.binfmt.emulatedSystems = ["aarch64-linux" "riscv64-linux"]; # supported file systems, so we can mount any removable disks with these filesystems boot.supportedFilesystems = [ "ext4"