2020-12-31 02:19:52 +00:00
|
|
|
# Based up original waokr by cleverca22
|
|
|
|
# https://github.com/cleverca22/nixos-configs/blob/master/overlays/qemu/default.nix
|
2022-03-07 14:26:15 +00:00
|
|
|
self: super: {
|
|
|
|
qemu-user-arm =
|
|
|
|
if self.stdenv.system == "x86_64-linux"
|
|
|
|
then self.pkgsi686Linux.callPackage ./qemu {user_arch = "arm";}
|
|
|
|
else self.callPackage ./qemu {user_arch = "arm";};
|
|
|
|
qemu-user-x86 = self.callPackage ./qemu {user_arch = "x86_64";};
|
|
|
|
qemu-user-arm64 = self.callPackage ./qemu {user_arch = "aarch64";};
|
|
|
|
qemu-user-riscv32 = self.callPackage ./qemu {user_arch = "riscv32";};
|
|
|
|
qemu-user-riscv64 = self.callPackage ./qemu {user_arch = "riscv64";};
|
2020-12-31 02:19:52 +00:00
|
|
|
}
|