From a5f0922ba7abf2f84021a96f89f13364e0542a77 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Wed, 14 Jun 2023 00:06:44 +0800 Subject: [PATCH] feat: add support for riscv64-linux --- hosts/msi-rtx4090/default.nix | 2 +- hosts/nixos-test/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/msi-rtx4090/default.nix b/hosts/msi-rtx4090/default.nix index e86b2721..a5e29833 100644 --- a/hosts/msi-rtx4090/default.nix +++ b/hosts/msi-rtx4090/default.nix @@ -28,7 +28,7 @@ nixpkgs.overlays = import ../../overlays args; # Enable binfmt emulation of aarch64-linux, this is required for cross compilation. - boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; + boot.binfmt.emulatedSystems = [ "aarch64-linux" "riscv64-linux" ]; # supported fil systems, so we can mount any removable disks with these filesystems boot.supportedFilesystems = [ "ext4" diff --git a/hosts/nixos-test/default.nix b/hosts/nixos-test/default.nix index 449f8503..3cf29fd2 100644 --- a/hosts/nixos-test/default.nix +++ b/hosts/nixos-test/default.nix @@ -25,7 +25,7 @@ # Enable binfmt emulation of aarch64-linux, this is required for cross compilation. - boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; + boot.binfmt.emulatedSystems = [ "aarch64-linux" "riscv64-linux" ]; # supported fil systems, so we can mount any removable disks with these filesystems boot.supportedFilesystems = [ "ext4"