Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Risc-v Qemu on NixOS
with (import <nixpkgs> {});
stdenv.mkDerivation {
name = "qemu-riscv";
src = ./.;
buildInputs = [
alsaLib glib libaio libpulseaudio perl pixman pkgconfig python2 SDL zlib
];
hardeningDisable = [ "stackprotector" ];
configureFlags = [
"--smbd=smbd"
"--sysconfdir=/etc"
"--localstatedir=/var"
"--target-list=riscv64-softmmu,riscv32-softmmu,x86_64-softmmu"
"--enable-linux-aio"
"--audio-drv-list=alsa,pa,sdl"
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.