patos/pkgs/qemu.nix
Daniel Lundin cca2a0ed75
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
WIP: next step on image build
2024-11-14 00:50:38 +01:00

30 lines
751 B
Nix

{ super, ... }:
(super.qemu_test.override {
enableDocs = false;
capstoneSupport = false;
guestAgentSupport = false;
tpmSupport = false;
libiscsiSupport = false;
usbredirSupport = false;
canokeySupport = false;
hostCpuTargets = [ "x86_64-softmmu" ];
}).overrideDerivation (old: {
postFixup = ''
rm -r $out/share/icons
cp "${pkgs.OVMF.fd + "/FV/OVMF.fd"}" $out/share/qemu/
'';
configureFlags = old.configureFlags ++ [
"--disable-tcg"
"--disable-tcg-interpreter"
"--disable-docs"
"--disable-install-blobs"
"--disable-slirp"
"--disable-virtfs"
"--disable-virtfs-proxy-helper"
"--disable-vhost-user-blk-server"
"--without-default-features"
"--enable-kvm"
"--disable-tools"
];
})