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
|
|
|
|
|
|
|
|
self: super:
|
|
|
|
|
|
|
|
{
|
2021-11-16 04:57:23 +00:00
|
|
|
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"; };
|
2020-12-31 02:19:52 +00:00
|
|
|
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"; };
|
|
|
|
}
|