Created
November 23, 2017 14:59
-
-
Save pierrebeaucamp/816df863705ebfabb900419c9ec60598 to your computer and use it in GitHub Desktop.
Risc-v Qemu on NixOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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